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

Re: [cssom] Proposing a getDefaultComputedStyle method

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 12 Oct 2012 15:30:45 -0400
Message-ID: <50786FE5.3000609@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
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

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