[Webkit-unassigned] [Bug 167031] New: Media Query should allow negation for media feature when media type is not specified
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 13 16:11:32 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=167031
Bug ID: 167031
Summary: Media Query should allow negation for media feature
when media type is not specified
Classification: Unclassified
Product: WebKit
Version: Safari 10
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aaron_chu at apple.com
Created attachment 298806
--> https://bugs.webkit.org/attachment.cgi?id=298806&action=review
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
https://www.w3.org/TR/mediaqueries-4/#mq-syntax
Combining Media Features
https://www.w3.org/TR/mediaqueries-4/#media-conditions
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170114/e1178f9f/attachment-0001.html>
More information about the webkit-unassigned
mailing list