[Webkit-unassigned] [Bug 134661] CSS color parsing accepts invalid color identifiers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 6 17:14:52 PDT 2014


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





--- Comment #4 from Benjamin Poulain <benjamin at webkit.org>  2014-07-06 17:15:07 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > You could check that the input ID is in the range alpha->-webkit-text.
> 
> That doesn’t sound right. I think it’s the job of the theme to decide which CSS identifiers are actually legal colors. What if one of the names of the colors was also an identifier that was used for another purpose elsewhere in CSS?

I don't think this would work with colors defined in CSS, they are already filtered by value ID (see parseColorValue()).

-- 
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