Summary: | Web Inspector: CSS var() function should be syntax highlighted | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Timothy Hatcher <timothy> | ||||
Component: | Web Inspector | Assignee: | Matt Baker <mattbaker> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Local Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Timothy Hatcher
2016-02-18 12:41:52 PST
"var" is in the valueKeywords_ array in External/CodeMirror/css.js, so it seems like it should just work. "calc" is in the same array, and appears correctly. We replace CodeMirrors valueKeywords in WebInspector.CSSCompletions.requestCSSCompletions. Created attachment 271796 [details]
[Patch] Proposed Fix
Comment on attachment 271796 [details] [Patch] Proposed Fix Clearing flags on attachment: 271796 Committed r196843: <http://trac.webkit.org/changeset/196843> All reviewed patches have been landed. Closing bug. |