W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: [cssom] Proposing a getDefaultComputedStyle method

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 13 Oct 2012 23:09:25 -0400
Message-ID: <507A2CE5.7060806@mit.edu>
To: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT