What do you expect $(<DISPLAY_NONE_ELM>).height() to do?
-
-
-
Replying to @wycats
trying to verify if the current behavior is as unexpected as I found it to be.
1 reply 0 retweets 0 likes -
-
Replying to @wycats1 reply 0 retweets 1 like
-
Replying to @samccone
was that true when I worked on jQuery? (1.0-1.8ish?)
3 replies 0 retweets 0 likes -
I blamed it back to John's "initial import" in 2006. It mentioned a Prototype.js inspiration; it landed there in Oct 2005.
2 replies 0 retweets 3 likes -
basically this little if-the-element-is-hidden-then-clone/toggle-and-force-layout trick has been there since time began.
1 reply 1 retweet 2 likes -
-
The behavior has actually been documented for a long time. See "Additional Notes" on http://api.jquery.com/height/
1 reply 0 retweets 1 like
yeah I think the question is whether it's surprising, not whether it's documented :)
3:02 PM - 21 Feb 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.