Open Bug 1663200 Opened 4 years ago Updated 4 years ago

[wpt-sync] Sync PR 25406 - Respect author/user system colors in Forced Colors Mode

Categories

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

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Alison Maher <almaher@microsoft.com>' wrote:

Respect author/user system colors in Forced Colors Mode

As resolved by the CSSWG [1], we should respect system color rules
set by the author/user in Forced Colors Mode. This CL adds the logic
to accomplish this.

[1] https://github.com/w3c/csswg-drafts/issues/4178

Bug: 970285
Change-Id: I9eb4a33f8767f48d0c0a6fd65faec15f11edc140
Reviewed-on: https://chromium-review.googlesource.com/2390865
WPT-Export-Revision: a2264682e95e75d54f57c51b4943e47f205f48f3

CI Results

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

Total 12 tests

Status Summary

Firefox

OK : 1
PASS: 4
FAIL: 8

Chrome

OK : 1
PASS: 7
FAIL: 5

Safari

OK : 1
PASS: 5
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/forced-colors-mode/forced-colors-mode-36.html: FAIL

New Tests That Don't Pass

/forced-colors-mode/forced-colors-mode-08.html: FAIL (Chrome: FAIL, Safari: FAIL)
/forced-colors-mode/forced-colors-mode-17.html: FAIL (Chrome: FAIL, Safari: FAIL)
/forced-colors-mode/forced-colors-mode-33.html: FAIL (Chrome: FAIL, Safari: FAIL)
/forced-colors-mode/forced-colors-mode-34.html: FAIL (Chrome: PASS, Safari: FAIL)
/forced-colors-mode/forced-colors-mode-35.html: FAIL (Chrome: FAIL, Safari: FAIL)
/forced-colors-mode/forced-colors-mode-36.html: FAIL (Chrome: PASS, Safari: PASS)
/forced-colors-mode/forced-colors-mode-37.html: FAIL (Chrome: FAIL, Safari: FAIL)
/forced-colors-mode/forced-colors-mode-38.html: FAIL (Chrome: PASS, Safari: FAIL)

You need to log in before you can comment on or make changes to this bug.