Closed Bug 1797524 Opened 3 years ago Closed 2 years ago

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

Categories

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

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Aaron Krajeski <krajeski@gmail.com> wrote:

Fix color valid color mix test

color-mix values should not get resolved at specified value time. See: https://github.com/web-platform-tests/wpt/issues/34158 and https://github.com/w3c/csswg-drafts/issues/7302#issuecomment-1153984819

This PR changes keeps all the cases in the current test, but does not expect the color mix to resolve, only to resolve the input colors as they normally would at specified value time (i.e. #ff00ff -> rgb(255, 0, 255)).

There are definitely some cases that are missing here: calc values, keyword colors, current color, light dark pairs and hex colors. I'll add those next.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c215b6819017 [wpt PR 36668] - Fix color valid color mix test, a=testonly
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.