[Webkit-unassigned] [Bug 235270] New: Non-HTMLCanvasElement based canvas's don't support all the syntax that CSS supports for parsing colors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 15 12:25:52 PST 2022


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

            Bug ID: 235270
           Summary: Non-HTMLCanvasElement based canvas's don't support all
                    the syntax that CSS supports for parsing colors
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sam at webkit.org
                CC: dino at apple.com

Non-HTMLCanvasElement based canvas's (OffscreenCanvas, CustomPaintCanvas) don't support all the syntax that CSS supports for parsing colors because they use a variant of CSSParser::parseColor that doesn't have a CSSParserContext initialized with the appropriate Settings object.

To make this work, we will need to find a way to initialize a CSSParserContext for these callers, perhaps using the ScriptExecutionContext for the worker cases.

-- 
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/20220115/6240aa69/attachment.htm>


More information about the webkit-unassigned mailing list