[Webkit-unassigned] [Bug 123468] Web Inspector: font-family names interpreted as color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 16:25:21 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=123468





--- Comment #5 from Timothy Hatcher <timothy at apple.com>  2013-10-29 16:24:07 PST ---
(In reply to comment #4)
> Now that I think about it, we have CodeMirror's tokenizer right now, but we are still regex checking lines:
> 
>     var lineContent = this._codeMirror.getLine(i);
>     var match = colorRegex.exec(lineContent);
>> 
> I think we be could just iterate over tokens instead of running the regex on the line?

That would work for color words and hex, but will need to have extra logic for rgb, etc.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list