W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [css-cascade-3] Potentially missing definitions and use case for reincluding "default value"

From: Simon Sapin <simon.sapin@exyr.org>
Date: Mon, 12 Aug 2013 19:18:24 +0100
Message-ID: <520926F0.5000701@exyr.org>
To: www-style@w3.org
Le 12/08/2013 18:58, Mike Sherov a écrit :
> I was surprised that "default value" wasn't already documented somewhere
> (I thought it was), and I think it should be a documented value type,
> and I love .defaultStyle, .initialStyle, .*style because I think it
> provides appropriately low-level access. That's just me though :-).
> If I had my way, I'd keep both: box:none AND .defaultStyle.

The thing is, "default style" as you describe it is not a thing that 
exists in implementations. It would requires re-running the full cascade 
(but with only UA stylesheets), which can be quite expensive. It’s 
really different from "initial value" which is already there.

Simon Sapin
Received on Monday, 12 August 2013 18:18:46 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:30 UTC