NEW232908
OffscreenCanvasRenderingContext2D.fillStyle does not support system colors in Workers
https://bugs.webkit.org/show_bug.cgi?id=232908
Summary OffscreenCanvasRenderingContext2D.fillStyle does not support system colors in...
Cameron McCormack (:heycam)
Reported 2021-11-09 15:14:05 PST
Assigning a system color to an OffscreenCanvas 2D context's fillStyle or strokeStyle doesn't work. This is causing WPTs html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.system{,.worker}.html to fail.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-11-09 15:17:25 PST
Kimmo Kinnunen
Comment 2 2026-03-13 02:42:23 PDT
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.system.worker.html is the only one failing now. Fails due to RenderTheme not being thread-safe, static OptionSet<CSS::ColorType> allowedColorTypes(ScriptExecutionContext* scriptExecutionContext) turning of system color types.
Note You need to log in before you can comment on or make changes to this bug.