Re: [cssom] Proposing a getDefaultComputedStyle method

On 10/12/12 3:21 PM, Tab Atkins Jr. wrote:
> I'm slightly unsure of the use-case.  What does jQuery use this
> information for?  Is it just for setting things back to their
> pre-author state?

There seem to be two uses at first glance:

1)  As a default value to set display to in some situations.
2)  To set display to "inline-block" on elements that are by default
     display:inline but are having their height/width animated.

-Boris

Received on Friday, 12 October 2012 19:31:13 UTC