Closed Bug 1445108 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 9985 - Correct order of serialized media list values

Categories

(Core :: DOM: CSS Object Model, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

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

Chris Nardi wrote:
>  Correct order of serialized media list values
>  
>  According to the spec (https://drafts.csswg.org/cssom/#serialize-a-media-query-list), each media query should be serialized in the same order as they appear in the media query list. Media *features* are sorted in lexicographical order in a single media query, but media queries are not sorted in the same manner. Fix two tests to reflect the spec.
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 2 tests and 6 subtests
OK     : 2
PASS   : 6
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/84afb57ee463
[wpt PR 9985] - Correct order of serialized media list values, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/42d184e6b7ec
[wpt PR 9985] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.