W3C home > Mailing lists > Public > www-style@w3.org > November 2004

Re: Possible CSS2/CSS2.1/CSS3 spec error in @media

From: Syntactic: Jim Wilkinson <syntactic@btinternet.com>
Date: Tue, 02 Nov 2004 12:21:37 -0000
To: "www-style Mailing List" <www-style@w3.org>
Message-ID: <opsgt7absmbrj5zx@host213-122-57-25.in-addr.btopenworld.com>

I'm tying off this thread for the benefit of anyone reading the archive. I  
didn't receive a response from the WG on-list so I mailed Bert Bos  
directly.

He confirms, as Björn Höhrmann pointed out, that the grammar for @media
requires at least one media type. He says:

"It seems to me that the language is clear enough. There is no mention of  
omitting the media types after @media, so '@media {...}' apparently  
doesn't mean anything.

But I'll add it to the issues list and we'll see if the WG wants to add
anything to the text.

B.t.w., the fact that HTML makes "screen" the default media for the
STYLE element is a known bug. It's fixed in XHTML2, but there is indeed
no errata for HTML yet."

My concern remains that the error behaviour if no media type is given is  
itself undefined.

--
Jim Wilkinson

Cardiff, Wales UK

Opera e-mail client: http://www.opera.com/m2/
Received on Tuesday, 2 November 2004 12:21:50 GMT

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