WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
235270
Non-HTMLCanvasElement based canvas's don't support all the syntax that CSS supports for parsing colors
https://bugs.webkit.org/show_bug.cgi?id=235270
Summary
Non-HTMLCanvasElement based canvas's don't support all the syntax that CSS su...
Sam Weinig
Reported
2022-01-15 12:25:52 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-01-22 12:26:18 PST
<
rdar://problem/87928857
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug