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

Re: Display: inherit and positioning schemes

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Tue, 08 Feb 2005 19:18:48 +0100
Message-ID: <42090288.60508@students.cs.uu.nl>
To: www-style@w3.org

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.

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.

Hiding it or something also won’t do - if I set a property to a certain
value in one rule, and want to reset it to its default (in this case,
inherit) in another, I need to be able to specify inherit.

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 :).


~Grauw

-- 
Ushiko-san! Kimi wa doushite, Ushiko-san!!
Received on Tuesday, 8 February 2005 18:18:46 GMT

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