[whatwg] <reset> element?

David Håsäther hasather at gmail.com
Fri Dec 15 16:05:43 PST 2006


On 2006-12-16 00:52, Asbjørn Ulsberg wrote:

> A much better solution is a 'reset' property or property value in CSS 
> that can reset different inherited and cascaded property values. I can 
> picture something like this:
> 
> #box {
>   color : red;
>   text-align: center;
> }
> 
> #box div {
>   reset : color; /* resets the color to the browser's default value */
> }
> 
> #box span {
>   reset : *; /* resets all cascading and inherited properties */
> }
> 
> I think this is actually something lacking in CSS and something that 
> indeed should be proposed to the CSS WG.

Similar things has been discussed at www-style at least a couple if 
times, see e.g. the thread starting here: 
http://lists.w3.org/Archives/Public/www-style/2005Aug/0033.html

Your 'reset' property certainly looks interesting in my opinion.

-- 
David Håsäther



More information about the whatwg mailing list