- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 12 Oct 2012 12:42:41 -0700
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: www-style list <www-style@w3.org>
On Fri, Oct 12, 2012 at 12:30 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > 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. Okay. #1 seems to be well answered by the 'default' value. #2 can't easily use the 'default' value, but it seems like it would also be easy to just maintain a list of tagnames that are display:inline by default. ~TJ
Received on Friday, 12 October 2012 19:43:34 UTC