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

Re: [cssom] Proposing a getDefaultComputedStyle method

From: Tobie Langel <tobie@fb.com>
Date: Fri, 12 Oct 2012 21:27:29 +0000
To: Mike Sherov <mike.sherov@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <F9981AFB970564408FEB7DFCF62D44084367A6E3@SC-MBX01-4.TheFacebook.com>
On 10/12/12 11:23 PM, "Mike Sherov" <mike.sherov@gmail.com> wrote:
>The use case here is $(elem).show() when the author rules say the CSS
>display value is "none". What CSS display value should be added?
>Without keeping a large map of elements to default value, its
>impossible to say without jumping through hoops.

That's the only use case I've seen for this so far.

>We even have several tickets dedicated to working around the issue be
>using the .hidden property of the element, but that'll be a dead end
>too.

How does the hidden property not solve it?

--tobie
Received on Friday, 12 October 2012 21:27:55 GMT

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