Closed Bug 1885059 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45073 - Add tests of Oklab and Oklch with lightness 99.9999%

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45073 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45073
Details from upstream follow.

Philip Jägenstedt <philip@foolip.org> wrote:

Add tests of Oklab and Oklch with lightness 99.9999%

This is an interop issue where Chrome's behavior is different from
Firefox and Safari's: https://crbug.com/329106317

These tests don't care what the color is, as long as it is the same.
Firefox and Safari pass the tests by rendering the oklab test as blue
and the oklch one as pink. Chrome fails because 100% is white.

These tests could be passed by making the color white in all cases.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests

Status Summary

Firefox

PASS: 4

Chrome

FAIL: 4

Safari

PASS: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfae9d993170 [wpt PR 45073] - Test oklab()/oklch() with lightness close to 0/1, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.