Closed Bug 1643080 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 23953 - Move where we set the root forced background-color

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alison Maher <almaher@microsoft.com> wrote:

Move where we set the root forced background-color

We are currently setting the root background-color in forced colors
mode inside the UA stylesheet. Instead, set the forced background-color
directly at the viewport level (similar to dark mode).

This is based on feedback from
https://chromium-review.googlesource.com/c/chromium/src/+/2211124.

Bug: 970285
Change-Id: I3b3280ab7816b40833e87f92fe6147d5882bc039
Reviewed-on: https://chromium-review.googlesource.com/2227809
WPT-Export-Revision: a810501a773817b4a442166480f11b6f4d811dc2

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/forced-colors-mode/forced-colors-mode-20.html
Checks that background color alpha channels are preserved in forced colors mode.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6ee03d2cd93
[wpt PR 23953] - Move where we set the root forced background-color, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.