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

False positives when using css variables #82

Closed
ismay opened this issue Jan 4, 2018 · 1 comment
Closed

False positives when using css variables #82

ismay opened this issue Jan 4, 2018 · 1 comment

Comments

@ismay
Copy link

ismay commented Jan 4, 2018

Variables that match css declarations are being incorrectly interpreted as those declarations and not as variables. See here for further discussion on where exactly it's going wrong.

@clshortfuse
Copy link
Collaborator

Original issue sites:

.class {
  width:rem-calc(20px);
}

Passing scss directly into doiuse isn't really supported, nor should it be. scss is a preprocessor. Whatever rem-calc does in SCSS should transform into css before landing in doiuse.

Also, this isn't really CSS variables (which are different thing). This seems like custom CSS functions which aren't part of any spec. We can explore that later if that ever happens.

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