W3C home > Mailing lists > Public > www-style@w3.org > June 2008

Re: [CSS2.1] Grammar for @media versus general block parsing

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 24 Jun 2008 18:03:57 +0200
To: Justin Rogers <justrog@microsoft.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <t16264tkglrgjdk60pdu9q62lqggebv9b0@hive.bjoern.hoehrmann.de>

* Justin Rogers wrote:
>So the question is, should the grammar in this case be read strictly
>since it clearly points out a semantic for the @media block, and thus
>only allow rule-sets making the Opera/IE 8 behavior correct? Or should
>the parsers allow any statement within the block including the at-rule?

CSS Level 3 allows using e.g. @page as child of @media, so you will end
up implementing the latter behavior either way.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 24 June 2008 16:04:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:07 GMT