Re: [cssom] Proposing a getDefaultComputedStyle method

On 10/13/12 10:51 PM, Mike Sherov wrote:
> Sorry, I'm dense. What do you mean by one "level"? In the use case
> I've described, why wouldn't "initial" be sufficient and only
> "default" would?

   div { display: initial; }

in an author stylesheet would produce a computed value of "inline", whereas:

   div { display: default; }

in an author stylesheet would produce a computed value of "block" in the 
default configuration of browsers.

-Boris

Received on Sunday, 14 October 2012 03:09:55 UTC