[Webkit-unassigned] [Bug 163662] New: [CSS Parser] Fix named color parsing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 19 08:54:20 PDT 2016


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

            Bug ID: 163662
           Summary: [CSS Parser] Fix named color parsing
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hyatt at apple.com

Named color parsing in the old parser for extended colors relied on constructing a Color with the name and doing a lookup that way. This was bad in that serialization on the back end loses the extended color name.

The new parser allows the back end to hold a primitive identifier value for extended colors (making serialization correct). StyleColor contains a helper function for looking up the correct color.

This patch switches both the old and the new parsers over to the new StyleColor function.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161019/5373ed87/attachment.html>


More information about the webkit-unassigned mailing list