Closed Bug 1643934 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24024 - Align prefers-color-scheme:no-preference tests with spec.

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Align prefers-color-scheme:no-preference tests with spec.

The 'no-preference' value has been removed from the spec per resolution
in [1].

[1] https://github.com/w3c/csswg-drafts/issues/3857#issuecomment-634779976

Bug: 1091806
Change-Id: Id5fd41b93f14c7ee60d10aa4dae036558271c948
Reviewed-on: https://chromium-review.googlesource.com/2232924
WPT-Export-Revision: 934a8846a1d6cf5e892ed718004f66fbe1aa1c07

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

CI Results

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

Total 1 tests and 21 subtests

Status Summary

Firefox

OK : 1
PASS: 18[Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt] 19[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub]
FAIL: 2[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub] 3[Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt]

Chrome

OK : 1
PASS: 19
FAIL: 2

Safari

OK : 1
PASS: 17
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/mediaqueries/prefers-color-scheme.html
Check that prefer-color-scheme evaluates to true in the boolean context: FAIL [Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt], PASS [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub] (Chrome: PASS, Safari: PASS)
Should not be parseable in JS: '(prefers-color-scheme: no-preference)': FAIL (Chrome: FAIL, Safari: FAIL)
Should not be parseable in a CSS stylesheet: '(prefers-color-scheme: no-preference)': FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dfe4c967f39d
[wpt PR 24024] - Align prefers-color-scheme:no-preference tests with spec., a=testonly
https://hg.mozilla.org/integration/autoland/rev/4ec64e663c31
[wpt PR 24024] - Update wpt metadata, 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.