[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 15:19:29 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=123468
--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org> 2013-10-29 15:18:15 PST ---
Heh. Well, to extend the "short term fix" we have in CSSStyleDeclarationTextEditor we have:
// Act as a negative look-behind and disallow the color from being prefixing with certain characters.
if (match.index > 0 && /[-.]/.test(lineContent[match.index - 1])) {
match = colorRegex.exec(lineContent);
continue;
}
We could include ['"] in that list of negative look-behind characters. But that wouldn't help "Foo Red Bar".
--
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