Closed ppseprus closed 1 year ago
I believe, css-variables are ignored by doiuse.
Steps to reproduce
:root { --foo: red; } div { background-color: var(--foo); }
doiuse --browsers "ie 6" test.css
Current behaviour The following error is returned: test.css:1:1: CSS3 selectors not supported by: IE (6) (css-sel3) https://caniuse.com/#feat=css-sel3
test.css:1:1: CSS3 selectors not supported by: IE (6) (css-sel3)
Expected behaviour An error for the following feature is also returned by doiuse: https://caniuse.com/#feat=css-variables
Note I've also tried the following code, where no error was returned.
div { --foo: red; background-color: var(--foo); }
Fixed in v5.0
I believe, css-variables are ignored by doiuse.
Steps to reproduce
doiuse --browsers "ie 6" test.css
(for details: https://caniuse.com/#feat=css-variables)Current behaviour The following error is returned:
test.css:1:1: CSS3 selectors not supported by: IE (6) (css-sel3)
https://caniuse.com/#feat=css-sel3Expected behaviour An error for the following feature is also returned by doiuse: https://caniuse.com/#feat=css-variables
Note I've also tried the following code, where no error was returned.