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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 6 17:29:30 PDT 2014


--- Comment #8 from Benjamin Poulain <benjamin at webkit.org>  2014-07-06 17:29:46 PST ---
(In reply to comment #6)
> (In reply to comment #4)
> > I don't think this would work with colors defined in CSS, they are already filtered by value ID (see parseColorValue()).
> Oh, maybe we should put that code somewhere we can share it!

Yep, agreed. When I originally commented I thought that code was a simple check in range. But that's a little more complicated that that...

It would be best to have this in a separate function.

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