Another PSA: jQuery width() in layout calculations will give wrong answers in a UA that does subpixel layout. Use getBoundingClientRect().
@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 …
-
-
@bz_moz Shall we file a bug for jQuery then? -
@rik24d You mean like the http://bugs.jquery.com/ticket/9628 we reported to them and they wontfixed?
End of conversation
New conversation -
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.