[Webkit-unassigned] [Bug 220684] New: Remove explicit clamp to SRGB for Lab colors on CG platforms that support wide color
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 16 12:35:59 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220684
Bug ID: 220684
Summary: Remove explicit clamp to SRGB for Lab colors on CG
platforms that support wide color
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: sam at webkit.org
To break up the lab(), lch() change, I opted to initially land with an explicit clamp to sRGB to avoid the subtle rounding issues we were seeing with CG.
We should remove explicit clamp to SRGB by either:
- Explicit conversion to ExtendedSRGB (-Inf,Inf), which will avoid using CG's color conversion code, but won't be re-usable down the road if we want to use CG for things like gradients in the Lab color space.
- Passing the Lab color to CG and identifying and working around the precision issues in the tests.
--
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/20210116/e4862572/attachment.htm>
More information about the webkit-unassigned
mailing list