Closed Bug 1614722 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21731 - Add tests for prefers-reduced-data

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Adam Argyle <argyle@google.com> wrote:

Add tests for prefers-reduced-data

spec https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-data

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

CI Results

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

Total 44 tests

Status Summary

Firefox

OK : 1
PASS: 12[GitHub] 55[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 7

Chrome

OK : 1
PASS: 12
FAIL: 7

Safari

OK : 1
PASS: 12
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/mediaqueries/prefers-reduced-data.html
Check that no-preference evaluates to false in the boolean context: FAIL (Chrome: FAIL, Safari: FAIL)
Should be parseable in JS: '(prefers-reduced-data: no-preference)': FAIL (Chrome: FAIL, Safari: FAIL)
Should be parseable in a CSS stylesheet: '(prefers-reduced-data: reduce)': FAIL (Chrome: FAIL, Safari: FAIL)
Should be parseable in a CSS stylesheet: '(prefers-reduced-data)': FAIL (Chrome: FAIL, Safari: FAIL)
Should be parseable in JS: '(prefers-reduced-data: reduce)': FAIL (Chrome: FAIL, Safari: FAIL)
Should be parseable in JS: '(prefers-reduced-data)': FAIL (Chrome: FAIL, Safari: FAIL)
Should be parseable in a CSS stylesheet: '(prefers-reduced-data: no-preference)': FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34834b88fe2c
[wpt PR 21731] - Add tests for prefers-reduced-data, a=testonly
https://hg.mozilla.org/integration/autoland/rev/014517506f6d
[wpt PR 21731] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.