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

@media all minified?

From: see <csad7@t-online.de>
Date: Wed, 09 Jul 2008 13:40:29 +0200
Message-ID: <4874A3AD.7090900@gmail.com>
To: "www-style@w3.org" <www-style@w3.org>

hi,
I have a question regarding a "minified" serialization of e.g.

	@media all {a {color: red }}

I guess the following would not be the equivalent:

	@mediaall{a{color:red}}

as there is no space between @media and all and if tokenizing this it 
would lead to a single token ``@mediaall`` and not ``@media`` followed 
by ``all`` (from the spec: ATKEYWORD 	@{ident})?

I think it has to be:
	@media all{a{color:red}}

Safari nevertheless seems to acknowledge both, other browsers (IE7, FF3) 
do not.

Just to be sure I would like to ask the proper behaviour here.

thanks
Christof
Received on Wednesday, 9 July 2008 11:41:18 GMT

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