New issue
Advanced search Search tips

Issue 790893 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 442449
Owner: ----
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Implement syntax improvements for media queries from level 4 specification

Reported by friv...@gmail.com, Dec 1 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0

Steps to reproduce the problem:
CSS Media Quries Level 4 bring in a bunch of syntactic improvements. They make media queries much more readable and maintainable.

https://drafts.csswg.org/mediaqueries-4/#mq-syntax

Here's an example:

Before:

@media (min-width: 20em), not all and (min-height: 40em) {
  @media not all and (pointer: none) {
    …
  }
}

After:

@media ((width >= 20em) or (height < 40em)) and (pointer) {
  …
}

What is the expected behavior?

What went wrong?

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: <Copy from: 'about:version'>  Channel: n/a
OS Version: OS X 10.12
Flash Version:
 

Comment 1 by friv...@gmail.com, Dec 1 2017

This should either be marked as being blocked by https://bugs.chromium.org/p/chromium/issues/detail?id=442449 or have that bug be closed in favor of this one, since this is a superset of that.
Labels: Triaged-ET Needs-Milestone
Mergedinto: 442449
Status: Duplicate (was: Unconfirmed)
The issue looks similar to issue id: 442449 and the issue id is a feature request which is still in available status. Hence, merging into the issue id: 442449.

Thanks...!!

Comment 3 by friv...@gmail.com, Dec 2 2017

It is similar to 442449, but i am not sure I'd close this as a duplicate of that, because this issue is broader than that one. adding "or" is only part of the syntax improvements added by MQ4: https://florian.rivoal.net/talks/mq4/#/2

Sign in to add a comment