RESOLVED FIXED 74570
Web Inspector: #hex colors are not highlighted in CSS files
https://bugs.webkit.org/show_bug.cgi?id=74570
Summary Web Inspector: #hex colors are not highlighted in CSS files
Timothy Hatcher
Reported 2011-12-14 17:32:57 PST
A hex color is not highlighted in CSS. If the color is all numerical the numbers will be highlighted, but not the #. And if there is [a-fA-F] there is no highlight. The whole thing should be highlighted, including the # and get css-color token type. The syntax highlight CSS file already expects that token type, but it isn't produced by the tokenizer. See http://www.webkit.org/css/blue.css
Attachments
Patch (89.16 KB, patch)
2011-12-15 08:30 PST, Alexander Pavlov (apavlov)
pfeldman: review+
Alexander Pavlov (apavlov)
Comment 1 2011-12-15 08:30:15 PST
Alexander Pavlov (apavlov)
Comment 2 2011-12-15 08:46:34 PST
Note You need to log in before you can comment on or make changes to this bug.