Open Bug 1973261 Opened 20 hours ago Updated 17 hours ago

[wpt-sync] Sync PR 53289 - Fixes tests of <color> CSS custom properties computed style to use resolved used value

Categories

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

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Sam Weinig <sam@webkit.org> wrote:

Fixes tests of <color> CSS custom properties computed style to use resolved used value

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=294504

Based on CSSWG resolution in https://github.com/w3c/csswg-drafts/issues/10371

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 1 tests and 75 subtests

Status Summary

Firefox

OK : 1
PASS: 69
FAIL: 6

Chrome

OK : 1
PASS: 69
FAIL: 6

Safari

OK : 1
PASS: 69
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-properties-values-api/registered-property-computation.html [wpt.fyi]
    • <color> values are computed correctly [currentcolor]: FAIL (Chrome: FAIL, Safari: FAIL)
    • <color> values are computed correctly [color-mix(in srgb, currentcolor, red)]: FAIL (Chrome: FAIL, Safari: FAIL)
    • <color> values are computed correctly [color-mix(in srgb, currentcolor, #ffffff 70%)]: FAIL (Chrome: FAIL, Safari: FAIL)
    • <color> values are computed correctly [color-mix(in srgb, currentcolor 20%, #ffffff 20%)]: FAIL (Chrome: FAIL, Safari: FAIL)
    • <color> values are computed correctly [light-dark(currentcolor, red)]: FAIL (Chrome: FAIL, Safari: FAIL)
    • <color> values are computed correctly [color(from currentcolor srgb b g r)]: FAIL (Chrome: FAIL, Safari: FAIL)
You need to log in before you can comment on or make changes to this bug.