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: Tue, 8 May 2007 16:46:12 -0600
To: www-style@w3.org
Message-ID: <20070508224612.GA28451@ridley.dbaron.org>
On Tuesday 2007-05-08 23:31 +0100, Benjamin Hawkes-Lewis wrote:
> I'm not sure how tangential this is to what you're asking, but note that 
> in HTML 4.01 the default value of the media attribute is "screen":
> 
> http://www.w3.org/TR/html4/present/styles.html#adef-media

Nobody actually implemented it that way (it wasn't that way in prior
definitions, I don't think).  I expect this to be changed in errata
or future versions of HTML.

> So in practice most applied stylesheets would inherit that value in the 
> absence of @media.

Inheritance is the wrong way to think of this, since multiple media
descriptors work by intersection.

-David

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

Received on Tuesday, 8 May 2007 22:46:17 GMT

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