Bug 272940

Summary: hsl() gamut clipping tests fail now that CSS allows hsl() values outside of the reference range
Product: WebKit Reporter: Sam Weinig <sam>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2024-04-18 17:02:14 PDT
The hsl() gamut clipping tests (css/css-color/t424-hsl-clip-outside-gamut-b.xht, and css/css-color/t425-hsla-clip-outside-device-gamut-b.xht) fail now that CSS allows hsl() values outside of the reference range. This should be raised as a WPT GitHub issue.
Attachments
Sam Weinig
Comment 1 2024-04-19 10:58:36 PDT
The following canvas tests have the same problem and fail on systems where gamut mapping differs. imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.html imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.html imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.html imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.worker.html imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.html imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.worker.html I am going to temporarily add back clamping for canvas while these test fail.
Sam Weinig
Comment 2 2024-04-20 09:48:00 PDT
Radar WebKit Bug Importer
Comment 3 2024-04-25 17:03:18 PDT
Sam Weinig
Comment 4 2024-04-29 08:45:19 PDT
Resolved in the wpt to remove the tests.
Note You need to log in before you can comment on or make changes to this bug.