Closed Bug 1897817 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 46377 - Fixes to css-color relative color tests

Categories

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

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 2 open bugs, )

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Fixes to css-color relative color tests

Fixes incorrect expectations for serialization, a typo and adjusts a color.

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

CI Results

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

Total 2 tests and 1076 subtests

Status Summary

Firefox

OK : 1
PASS: 1056
FAIL: 21

Chrome

OK : 1
PASS: 1046
FAIL: 31

Safari

OK : 1
PASS: 1050
FAIL: 27

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-color/relative-currentcolor-rgb-02.html [wpt.fyi]: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-color/parsing/color-valid-relative-color.html [wpt.fyi]
    • e.style['color'] = "rgb(from currentColor r g b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "rgba(from currentColor r g b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "hsl(from rebeccapurple none none none / none)" should set the property value: FAIL (Chrome: FAIL, Safari: PASS)
    • e.style['color'] = "hsl(from currentColor h s l)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "hsla(from rebeccapurple none none none / none)" should set the property value: FAIL (Chrome: FAIL, Safari: PASS)
    • e.style['color'] = "hsla(from currentColor h s l)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "hwb(from currentColor h w b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "lab(from currentColor l a b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "oklab(from currentColor l a b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "lch(from currentColor l c h)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "oklch(from currentColor l c h)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor srgb r g b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor srgb-linear r g b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor a98-rgb r g b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor rec2020 r g b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor prophoto-rgb r g b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor display-p3 r g b)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor xyz x y z)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor xyz-d50 x y z)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['color'] = "color(from currentColor xyz-d65 x y z)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/573eb4516745
[wpt PR 46377] - Fixes to css-color relative color tests, a=testonly
https://hg.mozilla.org/integration/autoland/rev/7b0e2c1d8ca6
[wpt PR 46377] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.