[Webkit-unassigned] [Bug 222110] color(lab ...) should serialize as color(lab ...) not lab() according to latest CSS Color 4 spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 18 08:59:20 PST 2021


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

--- Comment #1 from Sam Weinig <sam at webkit.org> ---
I'm going to take this opportunity to add some new functionality to WebCore::Color to have it store a bit saying whether to use the color(...) serialization or default serialization for an underlying color type. 

For some color types (like DisplayP3, for instance), the default is the color(...) serialization, so this bit won't have any effect, but it will allow us to do the optimization I have been wanting to do for a while to store color(srgb ...) colors that can be represented as SRGBA<uint8_t> losslessly in the efficient form and still retain the correct serialization.

-- 
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/20210218/8de0f92d/attachment.htm>


More information about the webkit-unassigned mailing list