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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9463

--- 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