W3C home > Mailing lists > Public > www-style@w3.org > May 2007

Re: [CSS21] is 'all' the 'initial' value of @media ?

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 12 May 2007 13:17:14 -0700
To: www-style@w3.org
Message-ID: <20070512201714.GB21782@ridley.dbaron.org>
On Wednesday 2007-05-09 15:19 +0200, HÃ¥kon Wium Lie wrote:
> One way to fix it may be to add this sentence at the end of 7.2.1:
>   Style rules outside of @media rules apply to all media types. 

This seems to imply that they apply to all media types, overriding
the media attribute on link elements or media list on @import rules.

I think it would be better to define all the places that specify
media lists or queries as having their sheet (for <link> or @import)
or rules (for @media) skipped if the media list/query does not match
(and then not saying anything about rules outside @media, etc.).
This makes it clear that the media lists/queries operate by


L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Saturday, 12 May 2007 20:17:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:28 UTC