[Webkit-unassigned] [Bug 98303] New: Parsing of media queries: 'all and(color)' should be invalid
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 3 14:35:51 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=98303
Summary: Parsing of media queries: 'all and(color)' should be
invalid
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://dabblet.com/gist/3829879
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: simon-webkit at exyr.org
Example 20 of the Media Queries gives this invalid media query:
@media all and(color) { … }
The lack of space in 'and(' makes it tokenize as a FUNCTION, and thus the query should parse as invalid.
http://www.w3.org/TR/css3-mediaqueries/#error-handling
A test case:
/* The body should not be red */
@media all and(color) { body { background: red } }
Or see it in action: http://dabblet.com/gist/3829879
I have this bug in Chromium 22 on Archlinux x86_64, but smfr just confirmed on IRC that it had been fixed in Safari 6.0.1 but regressed in the current trunk.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list