Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css-variables are ignored #90

Closed
ppseprus opened this issue Aug 1, 2018 · 1 comment
Closed

css-variables are ignored #90

ppseprus opened this issue Aug 1, 2018 · 1 comment

Comments

@ppseprus
Copy link

ppseprus commented Aug 1, 2018

I believe, css-variables are ignored by doiuse.

Steps to reproduce

  1. Create the test.css file with the following content
:root {
  --foo: red;
}
div {
  background-color: var(--foo);
}
  1. Then, run the following command: 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-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);
}
@clshortfuse
Copy link
Collaborator

Fixed in v5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants