[wpt-sync] Sync PR 37279 - Fixing parsing of Oklab and Oklch
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 37279 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37279
Details from upstream follow.
Juanmi Huertas <juanmihd@google.com> wrote:
Fixing parsing of Oklab and Oklch
By definition, lab and lch have a lightness value from 0.0 to 100.0, and
both oklab and oklch have a lightness value from 0.0 to 1.0.Our parser was written in a way that was considering oklab and oklch
values from 0.0 to 100.0.We are fixing it so it complies with the spec.
This CL also reverts some test that were changed in a previous CL
https://chromium-review.googlesource.com/c/chromium/src/+/4024793Low-Coverage-Reason: This parser code is tested inside WPT.
Bug: 1393416
Change-Id: I95dc2bc3de20ad916daa72eff260b4b085feeb53
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4058106
Reviewed-by: Aaron Krajeski \<aaronhk@chromium.org>
Auto-Submit: Juanmi Huertas \<juanmihd@chromium.org>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Juanmi Huertas \<juanmihd@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1078748}
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/76bf020110b0
https://hg.mozilla.org/mozilla-central/rev/67cb64226389
Description
•