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

Test CSS variables #6656

Closed
3 tasks done
weinand opened this issue May 23, 2016 · 0 comments
Closed
3 tasks done

Test CSS variables #6656

weinand opened this issue May 23, 2016 · 0 comments

Comments

@weinand
Copy link
Contributor

weinand commented May 23, 2016

Test for #3077:

Use case: Support intellisense, go to & peek definition, find all references, and decoration for CSS variables in CSS, SASS & LESS files.

In a CSS file (.css)

  • Declare a CSS variable either in root selector rule ( eg :root { --css-var: red; } ) or in any local rule.
  • Assign this variable to a property in any of the rules (say .class1 {background-color: var(--css-var);}
  • Test if the intellisense is working when you want to use assign a variable to a property in a rule. Intellisense shows all declared rules in the complete file.
  • Test intellisense being inside var() function and check for variable suggestions
  • Test go to & peek definition on a variable where it is assigned to a property.
  • Test find all references on a variable is showing all references to that variable.
  • Test the decoration (color) of the variable
  • Test above cases with multiple variables with some declared and some not.

In a SASS file (.scss) and LESS file (.less)

  • Test intellisense, go to and peek definition and find all references of CSS variables.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants