[Webkit-unassigned] [Bug 204347] New: CSSFastPaths::parseColor should handle more color specifications

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 19 03:13:15 PST 2019


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

            Bug ID: 204347
           Summary: CSSFastPaths::parseColor should handle more color
                    specifications
           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: clord at igalia.com
            Blocks: 182686

Currently, the fast path handles keywords, hex colours and rgb/rgba, but doesn't handle rgb/rgba when the colour is terminated early and doesn't handle hsl/hsla. It would be helpful to handle those other cases, mainly so that OffscreenCanvas doesn't need to use the full parser to parse colours. Though this would be a small perf win in some (what I expect are) uncommon situations, this is mainly to help with OffscreenCanvas.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=182686
[Bug 182686] Basic OffscreenCanvas functionality
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191119/e0c76f92/attachment-0001.htm>


More information about the webkit-unassigned mailing list