W3C home > Mailing lists > Public > www-style@w3.org > February 2005

Re: Display: inherit and positioning schemes

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 8 Feb 2005 10:25:32 -0800
To: www-style@w3.org
Message-ID: <20050208182532.GA12491@ridley.dbaron.org>
On Tuesday 2005-02-08 19:18 +0100, Laurens Holst wrote:
> Staffan Måhlén wrote:
> >All actually, but I don't know enough to tell if that would be 
> >feasible. Do you know any webpages that use it? To me it seems like a 
> >UA-developer feature rather than a CSS author feature.

It would probably be more of an author feature if IE for Windows
implemented it.

> If you set a font-family on the body, and see it being used on all
> elements in the document, you’re depending on inherit (even though you
> didn’t set it yourself). Inherit is the default value for a number of
> properties, and can not be removed because it is depended on by many.

It's actually not described as the default value.  The default value for
inherited properties is the value that is used for the root element.

> Basically, removing inherit would majorly break the CSS as it is used
> today. So even just thinking about doing so is wasting time you could
> better spend on other things :).

You're confusing removing the 'inherit' keyword (introduced in CSS2)
with removing inheritance (introduced in CSS1).


L. David Baron                                <URL: http://dbaron.org/ >

Received on Tuesday, 8 February 2005 18:26:06 UTC

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