Closed Bug 1834581 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40168 - Fix color-valid-color-mix-function test

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Aaron Krajeski <aaronhk@chromium.org> wrote:

Fix color-valid-color-mix-function test

For oklab and oklch 100% equals 1 and 100 is out of gamut but gets
clamped to 1.

https://csswg.sesse.net/css-color-4/#specifying-oklab-oklch
"""
The first argument specifies the CIE Lightness, L. This is a number between 0% or 0 (representing black) and 100% or 100 (representing white), Values less than 0% or 0 must be clamped to 0% at parsed-value time; values greater than 100% or 100 are clamped to 100% at parsed-value time.
"""

https://csswg.sesse.net/css-color-4/#hue-interpolation
"specified hue" no longer exists

Remove some duplicate tests.

Bug: 1448121
Change-Id: I1dea9178d18005489fdbc0f8c38c5ca8006efad5

Reviewed-on: https://chromium-review.googlesource.com/4557744
WPT-Export-Revision: 59fd87df3f30d6b643ef7e10cab93f29de9229fa

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/13728a0d0c35 [wpt PR 40168] - Fix color-valid-color-mix-function test, a=testonly https://hg.mozilla.org/integration/autoland/rev/346ab8384ba5 [wpt PR 40168] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.