Re: [cssom] Proposing a getDefaultComputedStyle method

On 10/12/12 11:23 PM, "Mike Sherov" <> 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