Closed Bug 2041633 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 60088 - Render 'none' in light-dark() image as transparent

Categories

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

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Jonathan Lee <jonathanjlee@google.com> wrote:

Render 'none' in light-dark() image as transparent

Per the CSSWG resolution1, a selected none arm inside a light-dark() image value computes to image(transparent), which then resolves to image(rgba(0, 0, 0, 0)) per the standard computed-value rules for <color>2.

Bug: 491829958
Change-Id: I2df4e7ab066652078a0ed1ee8608f5af9c2683c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7806112
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Jason Leo <cgqaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1632236}


Changes from original: Merge with #59754, which landed concurrently but is functionally equivalent. The Chromium CL adds a comment.

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 376 tests and 27 subtests

Status Summary

Firefox

OK : 1[GitHub] 60[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: 31[GitHub] 10567[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 10872[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 10873[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] 10874[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1[GitHub] 635[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 644[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 645[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] 646[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

OK : 1
PASS: 32

Safari

OK : 1
PASS: 8
FAIL: 24

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

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

Attachment

General

Created:
Updated:
Size: