<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@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aaron_chu@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&action=edit" title="reduced test case">[details]</a></span>
reduced test case
Currently, media query can be negated only when the the "not" token precedes the <media-type>. In cases where <media-type> is not specified, <media-feature> is not negated. According to "2.5 Combining Media Features", a <media-feature> should be negated when it is preceded by the "not" 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>