W3C home > Mailing lists > Public > www-style@w3.org > November 2011

Re: [css3-cascade] Rolling back the cascade

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 31 Oct 2011 17:25:59 -0700
Message-ID: <CAAWBYDDQSnciRAtep6RTWf43uowYLXf-fJerfeHaOOWVxVg9Fw@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, Oct 31, 2011 at 12:06 PM, fantasai
<fantasai.lists@inkedblade.net> wrote:
> Just an idea that was put into my head at some point and probably should be
> archived here instead:
>
> A common value that rolls back to the bottom of that weight level of the
> cascade, e.g. for an author rule it would roll back to the end of the user
> cascade, for a user rule it would roll back to the end of the UA cascade,
> and for the UA it would roll back to ''initial''/''inherit''.
>
> And would that be more, less, or equally useful as a value that simply means
> ''initial''/''inherit'' (depending on whether the property inherits by
> default)?
> That idea was proposed by dbaron here:
>  http://lists.w3.org/Archives/Member/w3c-css-wg/2002OctDec/0191.html

*Definitely* more useful.  Being able to trivially say "reset this
element to whatever display value HTML has set for it" is a good
thing.

~TJ
Received on Tuesday, 1 November 2011 00:26:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT