WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexander Pavlov (apavlov)
Comment 1
2011-12-15 08:30:15 PST
Created
attachment 119432
[details]
Patch
Alexander Pavlov (apavlov)
Comment 2
2011-12-15 08:46:34 PST
Committed
r102943
: <
http://trac.webkit.org/changeset/102943
>
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