WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
177347
Web Inspector: Autocompletion suggestions for CSS variables shouldn't show outside definitions and var()
https://bugs.webkit.org/show_bug.cgi?id=177347
Summary
Web Inspector: Autocompletion suggestions for CSS variables shouldn't show ou...
Devin Rousso
Reported
2017-09-22 00:27:11 PDT
Currently, we always add any variable completions to the overall list, so long as they start with the same prefix as the current token. margin: --|[text-color-gray-medium]; We should only be adding variable completions in two cases: 1) inside `var()` functions margin: var(|[--text-color-gray-medium]); 2) when we are defining a variable --|[text-color-gray-medium]: ...; NOTES: | is the cursor [...] represents the completion hint
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug