Closed Bug 1607681 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21080 - Added two rendering tests for color-scheme:dark.

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Added two rendering tests for color-scheme:dark.

The background for an iframe is transparent, even with a dark
color-scheme. Also, test that the computed style on the root element is
transparent with a dark color-scheme.

These tests need to be run with a preferred color-scheme of dark in
order to have a used value of dark. A helper stylesheet is used to
enforce that.

Bug: 939811
Change-Id: I9fb3db1c694b1830865d31cef494636f3a2d43c1
Reviewed-on: https://chromium-review.googlesource.com/1989535
WPT-Export-Revision: b8b095aa2f6da969825bbc273f1730cf4b7c7275

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

Status Summary

Firefox

OK : 1
FAIL: 2

Chrome

OK : 1
FAIL: 2

Safari

OK : 1
FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-root-background.html
Root element background should be transparent for dark color-scheme.: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background.html: FAIL (Chrome: FAIL, Safari: FAIL)

CI Results

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

Total 41 tests

Status Summary

Firefox

OK : 1
PASS : 39
FAIL : 1[[u'Gecko-linux64-qr-opt', u'Gecko-windows10-64-qr-opt']] 2[[u'Gecko-android-em-7.0-x86_64-debug-geckoview', u'Gecko-android-em-7.0-x86_64-opt-geckoview', u'Gecko-linux64-asan-opt', u'Gecko-linux64-debug', u'Gecko-linux64-opt', u'Gecko-linux64-qr-debug', u'Gecko-windows10-64-debug', u'Gecko-windows10-64-opt', u'Gecko-windows10-64-qr-debug', u'Gecko-windows7-32-debug', u'Gecko-windows7-32-opt', 'GitHub']]
ERROR: 1

Chrome

OK : 1
FAIL : 2

Safari

OK : 1
FAIL : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-root-background.html
Root element background should be transparent for dark color-scheme.: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background.html: ERROR [Gecko-linux64-qr-opt, Gecko-windows10-64-qr-opt], FAIL [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux64-asan-opt, Gecko-linux64-debug, Gecko-linux64-opt, Gecko-linux64-qr-debug, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub] (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2b0969b9f61e
[wpt PR 21080] - Added two rendering tests for color-scheme:dark., a=testonly
https://hg.mozilla.org/integration/autoland/rev/4a0772070f5c
[wpt PR 21080] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.