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

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 UTC