Re: @media all minified?

see wrote:
> 
> 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 checked the CSS grammar again, the tokenizer is defined here as:

	@{M}{E}{D}{I}{A}	{return MEDIA_SYM;}

Safari seems to be working right here then?


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

Received on Wednesday, 9 July 2008 12:10:32 UTC