Re: [css3-mediaqueries] handling of unknown media types

On Tue, 10 Jun 2008 15:15:11 +0200, Anne van Kesteren <>  
> On Tue, 10 Jun 2008 15:02:08 +0200, Stewart Brodie  
> <> wrote:
>> It's not even just IDENT tokens: the "3d-glasses" example in the MQ  
>> spec is a DIMENSION - so I have a hack that reserialises DIMENSION  
>> tokens when I'm looking for a media type in the parser.
> Good point. David Baron didn't mention how he'd handle syntactically  
> incorrect types. (So far this didn't really matter as syntactically  
> incorrect and unrecognized was pretty much the same.)

Actually, for the "not 3d-glasses" case I would expect it to be simply  
ignored and therefore not evaluate to true. However, for anything that  
does match IDENT I would expect it to be preserved and therefore "not  
anything-that-matches-IDENT" would evaluate to true (as long as  
anything-that-matches-IDENT itself is not supported or is not the current  
media for the view).

Since nobody has really said anything other than not wanting more change  
I'll change (hah) this to be in line with Opera and WebKit and what David  
Baron preferred. (Which is also more in line with the previous Candidate  

Anne van Kesteren

Received on Wednesday, 11 June 2008 12:46:12 UTC