[Webkit-unassigned] [Bug 180234] New: Implement syntax improvements for media queries from level 4 specification

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 30 20:46:12 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=180234

            Bug ID: 180234
           Summary: Implement syntax improvements for media queries from
                    level 4 specification
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
               URL: https://drafts.csswg.org/mediaqueries-4/#mq-syntax
                OS: All
            Status: NEW
          Keywords: FromImplementor
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: florian at rivoal.net

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) {
  …
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171201/2e1c13da/attachment.html>


More information about the webkit-unassigned mailing list