Closed Bug 1917226 Opened 6 months ago Closed 5 months ago

[wpt-sync] Sync PR 48012 - Resolve relative colors based on currentcolor

Categories

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

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kevin Babbitt <kbabbitt@microsoft.com> wrote:

Resolve relative colors based on currentcolor

This CL contains the logic needed to evaluate relative color channel
values and expressions at used-value time, once the value of
currentcolor is known.

Bug: 325309578
Change-Id: Ie795ca28a43ea3c8f825a7b574a22a289c351bf9
Reviewed-on: https://chromium-review.googlesource.com/5813537
WPT-Export-Revision: b072412e8d01413d20f8480d74723ad122cfff59

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 1065 subtests

Status Summary

Firefox

OK : 1
PASS: 1043
FAIL: 22

Chrome

OK : 1
PASS: 1030
FAIL: 35

Safari

OK : 1
PASS: 1060
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-color/parsing/color-computed-relative-color.html [wpt.fyi]
    • Property color value 'rgb(from rebeccapurple none none none)': FAIL (Chrome: PASS, Safari: FAIL)
    • Property color value 'rgb(from rebeccapurple none none none / none)': FAIL (Chrome: PASS, Safari: FAIL)
    • Property color value 'rgb(from rebeccapurple r g none)': FAIL (Chrome: PASS, Safari: FAIL)
    • Property color value 'rgb(from rebeccapurple r g none / alpha)': FAIL (Chrome: PASS, Safari: FAIL)
    • Property color value 'rgb(from rgb(20% 40% 60% / 80%) r g none / alpha)': FAIL (Chrome: PASS, Safari: FAIL)
    • Property background-color value 'rgb(from currentColor r g b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'hsl(from currentColor h s l)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'hsl(from currentColor calc((h / 360) * 360deg) s l)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'hwb(from currentColor h w b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'lab(from currentColor l a b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'oklab(from currentColor l a b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'lch(from currentColor l c h)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'oklch(from currentColor l c h)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor srgb r g b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor srgb-linear r g b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor a98-rgb r g b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor rec2020 r g b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor prophoto-rgb r g b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor display-p3 r g b)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor xyz x y z)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor xyz-d50 x y z)': FAIL (Chrome: FAIL, Safari: PASS)
    • Property background-color value 'color(from currentColor xyz-d65 x y z)': FAIL (Chrome: FAIL, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec589e9682c0 [wpt PR 48012] - Resolve relative colors based on currentcolor, a=testonly https://hg.mozilla.org/integration/autoland/rev/17c6b59ee154 [wpt PR 48012] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
No longer blocks: 1917714
Blocks: 1917714
You need to log in before you can comment on or make changes to this bug.