Implement oklab() and oklch() from CSS Color Module Level 4
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Tracking
()
People
(Reporter: aja, Assigned: tlouw)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-needed, parity-chrome, parity-safari)
CSS Color Module Level 4 defines oklab() and oklch() functions allowing to specify colors in OKLab and OKLCH.
This bug is meant to implement these two functions.
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Now implemented in Chrome 108 behind an experimental flag, as well as having shipped in Safari
https://wpt.fyi/results/css/css-color?label=master&label=experimental&aligned&view=subtest&q=lab
https://wpt.fyi/results/css/css-color?label=master&label=experimental&aligned&view=subtest&q=lch
Updated•2 years ago
|
Comment 2•1 year ago
|
||
(In reply to chris from comment #1)
Now implemented in Chrome 108 behind an experimental flag, as well as having shipped in Safari
https://wpt.fyi/results/css/css-color?label=master&label=experimental&aligned&view=subtest&q=lab
https://wpt.fyi/results/css/css-color?label=master&label=experimental&aligned&view=subtest&q=lch
Are you sure it's behind a flag in Chrome? I don't see it.
It's behind the web experiments flag in Canary 👍🏻
https://cdpn.io/pen/debug/RwyOyeq
Updated•1 year ago
|
Interop-2022 results for oklab and oklch - Chrome and Safari pass 100%
https://wpt.fyi/results/css/css-color?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2022-color%20ok
Updated•1 year ago
|
Assignee | ||
Comment 5•1 year ago
|
||
Fixed as part of bug 1352757. Right now still behind layout.css.more_color_4.enabled
pref.
Description
•