<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Query should allow negation for media feature when media type is not specified"
   href="https://bugs.webkit.org/show_bug.cgi?id=167031">167031</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Media Query should allow negation for media feature when media type is not specified
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Safari 10
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>CSS
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aaron_chu&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=298806" name="attach_298806" title="reduced test case">attachment 298806</a> <a href="attachment.cgi?id=298806&amp;action=edit" title="reduced test case">[details]</a></span>
reduced test case

Currently, media query can be negated only when the the &quot;not&quot; token precedes the &lt;media-type&gt;. In cases where &lt;media-type&gt; is not specified, &lt;media-feature&gt; is not negated. According to &quot;2.5 Combining Media Features&quot;, a &lt;media-feature&gt; should be negated when it is preceded by the &quot;not&quot; token.

specs:
Syntax, BNF
<a href="https://www.w3.org/TR/mediaqueries-4/#mq-syntax">https://www.w3.org/TR/mediaqueries-4/#mq-syntax</a>

Combining Media Features
<a href="https://www.w3.org/TR/mediaqueries-4/#media-conditions">https://www.w3.org/TR/mediaqueries-4/#media-conditions</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>