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

How does the hidden property not solve it?

Received on Friday, 12 October 2012 21:27:55 UTC

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