Closed Bug 2067798 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62272 - [css-color] add more tests for powerless and `none`

Categories

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

task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Romain Menke <romainmenke@gmail.com> wrote:

[css-color] add more tests for powerless and none

related to: https://github.com/w3c/csswg-drafts/issues/10211
adds tests for: https://github.com/w3c/csswg-drafts/issues/14133

I chose to add two new files with tests with a focus on none and powerless.
There might be overlap with existing tests.

Please review carefully.
All browser implementations fail most of these tests.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 45 tests and 27 subtests

Status Summary

Firefox

OK : 3[GitHub] 45[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1375[GitHub] 10884[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 829[GitHub] 1198[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 3
PASS: 1189
FAIL: 1015

Safari

OK : 3
PASS: 1507
FAIL: 697

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /css/css-color/parsing/color-computed-color-mix-function.html [wpt.fyi]
    • Property color value 'color-mix(in srgb, red calc(50% + (sign(100em - 1px) * 10%)), blue)': FAIL linked bug:Bug 1915985
  • /css/css-color/parsing/color-computed-none.html [wpt.fyi]
    • Property color value 'hsl(from hwb(180 none 25%) h s l)': FAIL
  • /css/css-color/parsing/color-computed-powerless.html [wpt.fyi]
    • Property color value 'color-mix(in hsl, hwb(180 100% 25%), hsl(11 33 44))': FAIL
    • Property color value 'color-mix(in hsl, hwb(180 25% 100%), hsl(11 33 44))': FAIL
    • Property color value 'color-mix(in hsl, hwb(0 100% 25%), hsl(11 33 44))': FAIL
    • Property color value 'color-mix(in hsl, hwb(0 25% 100%), hsl(11 33 44))': FAIL
    • Property color value 'color-mix(in hsl, lch(0 20 180), hsl(11 33 44))': FAIL
    • Property color value 'color-mix(in hsl, oklch(0 0.2 180), hsl(11 33 44))': FAIL
    • Property color value 'color-mix(in lch, hsl(180 0.001% 50%), lch(11 33 44))': FAIL
    • Property color value 'color-mix(in lch, hsl(180 0.0011% 50%), lch(11 33 44))': FAIL
    • Property color value 'color-mix(in lch, oklch(0.2 0.000004 180), lch(11 33 44))': FAIL
    • Property color value 'color-mix(in lch, oklch(0.2 0.0000041 180), lch(11 33 44))': FAIL
    • Property color value 'color-mix(in lch, color(display-p3 0.1893689 0.18937814 0.18937561), lch(11 33 44))': FAIL

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: