Closed Bug 1593880 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 17236 - [cssom] Test serialization of media queries

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mike Pennisi <mike@mikepennisi.com> wrote:

[cssom] Test serialization of media queries

Some discrepancies between browsers became apparent while writing gh-17221

  • Chrome passes all 12 tests
  • Firefox fails two tests (feature de-duplication and feature sorting)
  • Safari fails all 12 tests (maybe a bit unfairly--all due to its insertion of an extra U+0020)

@tabatkins How are duplicated value-specifying features intended to be interpreted? For instance,

@media print ans (max-width: 23px) and (max-width: 45px) {}
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core

GitHub CI Results

wpt.fyi PR Results Base Results

Ran 1 tests and 12 subtests

Firefox

OK : 1
PASS: 11
FAIL: 1

Chrome

OK : 1
PASS: 12

Safari

OK : 1
FAIL: 12

New tests that's don't pass

/css/cssom/serialize-media-rule.html
features - lexicographical sorting: Firefox: FAIL, Chrome: PASS, Safari: FAIL

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f491fabea7f7
[wpt PR 17236] - [cssom] Test serialization of media queries, a=testonly
https://hg.mozilla.org/integration/autoland/rev/387da1f33758
[wpt PR 17236] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.