Closed Bug 1518009 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 14731 - Support for prefers-color-scheme media feature.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:
>  Support for prefers-color-scheme media feature.
>  
>  The preferred color scheme can be passed to the renderer through
>  Settings, but there is no code in content changing it from the default
>  value yet.
>  
>  Spec:
>  
>  https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme
>  
>  Intent to Implement:
>  
>  https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Muw0N43ntSw
>  
>  Bug: 889087
>  Change-Id: I859de2953966640baed57ee6d4a5edcbabf9e999
>  Reviewed-on: https://chromium-review.googlesource.com/1396404
>  WPT-Export-Revision: 81fa344d3e56c27ec49ead3abf6143c1d1c92e35
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 11 subtests
OK     : 1
PASS   : 6
FAIL   : 5

New tests that have failures or other problems:
/css/mediaqueries/prefers-color-scheme.html
    Check that no-preference evaluates to false in the boolean context: FAIL
    Should be parseable: '(prefers-color-scheme)': FAIL
    Should be parseable: '(prefers-color-scheme: dark)': FAIL
    Should be parseable: '(prefers-color-scheme: light)': FAIL
    Should be parseable: '(prefers-color-scheme: no-preference)': FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8dd56380653c
[wpt PR 14731] - Support for prefers-color-scheme media feature., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/b7c973c90bfb
[wpt PR 14731] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a3daeb7d2319
[wpt PR 14731] - Support for prefers-color-scheme media feature., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9480a6500a7
[wpt PR 14731] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.