Closed Bug 1877503 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44294 - Implement support for light-dark() color function

Categories

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

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Implement support for light-dark() color function

Specification:
https://drafts.csswg.org/css-color-5/#light-dark

Change all -internal-light-dark() instances in UA sheets to
light-dark(). Also use light-dark() for UA-only support for image
values, but guard use with UA mode check.

Coincidentally fixes a bug where -internal-light-dark(GreyText, ...)
was forced, but GreyText was kept as a system color. This is why the
expectation pngs change. Also covered by the new unit test.

Bug: 1490618
Change-Id: Iea21d31733332f9e3d56e00dda74ebd4e5662cea

Reviewed-on: https://chromium-review.googlesource.com/5245470
WPT-Export-Revision: 82fc929f616f31a31e3f67b3b8834c32a56bf5a6

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

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS : 1
TIMEOUT: 1

Chrome

OK : 1
PASS : 1
TIMEOUT: 1

Safari

OK : 1
PASS : 1
TIMEOUT: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f287e7ebb84b [wpt PR 44294] - Implement support for light-dark() color function, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.