Closed Bug 1800119 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36911 - css mediaqueries : add tests for negated conditions

Categories

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

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Romain Menke <romainmenke@gmail.com> wrote:

css mediaqueries : add tests for negated conditions

In mediaqueries-3 only not screen and ... was supported.
In mediaqueries-4 the not keyword can be used before <media-in-parens>.

Blink :

  • succeeds

Gecko :

  • single failure on @media not ((unknown) or (monochrome)) {}

WebKit :

  • fails
  • WebKit doesn't support the syntax yet.
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7a29ca3674e4 [wpt PR 36911] - css mediaqueries : add tests for negated conditions, a=testonly https://hg.mozilla.org/integration/autoland/rev/d77b59f5bd53 [wpt PR 36911] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.