W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2011

[Bug 9463] Parsing error of @media in CSS2 (should discard invalid statements and resume at the next one)

From: <bugzilla@jessica.w3.org>
Date: Mon, 31 Oct 2011 14:34:48 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RKswq-0006Pk-3u@jessica.w3.org>

--- Comment #1 from Yves Lafon <ylafon@w3.org> 2011-10-31 14:34:47 UTC ---
>From CSS2:
@media and @import rules with unknown media types (that are nonetheless valid
identifiers) are treated as if the unknown media types are not present. If an
@media/@import rule contains a malformed media type (not an identifier) then
the statement is invalid. 
In that case, 'only screen and (color)' is not a valid identifier.
However, the bug still stands for '@media print, foo' as erors should be
reported but validation should continue.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 31 October 2011 14:34:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:47 UTC