Another PSA: jQuery width() in layout calculations will give wrong answers in a UA that does subpixel layout. Use getBoundingClientRect().
-
-
-
Replying to @anthony_ricaud
@rik24d Sure thing. See http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cscript%20src%3D%22http%3A%2F%2Fcode.jquery.com%2Fjquery-1.8.3.min.js%22%3E%3C%2Fscript%3E%0A%3Cdiv%20style%3D%22width%3A%2010.5px%22%20id%3D%22test%22%3E%0A%3C%2Fdiv%3E%0A%3Cscript%3E%0Aalert%28%24%28%22%23test%22%29.width%28%29%29%0A%3C%2Fscript%3E …1 reply 0 retweets 0 likes -
Replying to @anthony_ricaud
@rik24d You mean like the http://bugs.jquery.com/ticket/9628 we reported to them and they wontfixed?
7:55 AM - 19 Nov 2012
0 replies
0 retweets
0 likes
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.