Commit graph

21 commits

Author SHA1 Message Date
John Resig cf672a2e7a Make sure that .offset() doesn't fail against disconnected DOM nodes. Fixes #4996. 2010-09-28 10:55:48 -04:00
Brandon Aaron d6f03aa0df Merge branch 'master' of github.com:jquery/jquery 2010-03-27 18:58:55 -05:00
jeresig dab1d74677 Mobile WebKit browsers don't support accessing the scroll position of the document/window. 2010-03-25 17:30:13 -04:00
Brandon Aaron 656fe92178 Fixed an issue with setting offset of absolutely positioned element that has no position values ("auto"). Fixes #5781. 2010-03-22 20:11:37 -04:00
Brandon Aaron 1844f95c5b Added unit tests for setting offset one property at a time and added radix to parseInt calls 2010-03-22 18:50:17 -04:00
brandonaaron 5353c6bcc3 Adding unit tests to make sure .scrollTop() and .scrollLeft() work cross-frame. 2010-02-28 10:55:59 -06:00
brandonaaron 1d352084c4 Use correct window reference in offset to work properly cross-frame. Fixes #6190. 2010-02-27 19:43:23 -06:00
Karl Swedberg 2c28f229e5 fixed offset(coordinates) returns null when no matching elements in jQuery object (fixes ticket #5888) 2010-01-24 01:26:35 +08:00
jeresig 4fa00369f0 Added in support for .offset(Function). 2010-01-07 14:07:21 -05:00
John Resig 805832afc7 Updated the jQuery suite to use the updated QUnit CSS styling. 2009-09-29 22:48:25 +00:00
Brandon Aaron daffb954e3 offset is now a setter 2009-09-15 19:15:04 +00:00
Brandon Aaron cafd392af0 add scrollTop/Left tests and fix for IE 2009-07-24 22:32:53 +00:00
John Resig a3b8ac413f Rewrote .offsetParent() to work against the full jQuery set, added tests. Fixes #4922. 2009-07-19 13:04:18 +00:00
Brandon Aaron d828ff75a4 removing ambiguous offset tests for now... results are different due to rendering differences but are correct for the given browser 2009-07-17 22:20:26 +00:00
Brandon Aaron 6504751006 integrated offset tests into main test suite. offset tests now use iframes instead of popups 2009-07-17 22:15:37 +00:00
Brandon Aaron 5c21e44fce new offset method, faster and no more browser detection 2008-11-10 02:39:03 +00:00
Ariel Flesler 9e48649729 test runner: the changes are:
- Replaced all the $ for jQuery in the tests and suite.
- Added a noConflict to testrunner.js.
- Modified the test for noConflict() so that it still work.
- Added jQuery 1.2.1 and 1.2.3 to otherlibs.
2008-05-28 23:18:25 +00:00
Brandon Aaron de6520b50e Added some unit tests for position method. Fixed issue with position in IE. 2008-05-15 19:38:00 +00:00
Brandon Aaron 58c640fb1c Added more unit tests for offset. Fixed an offset issue relating to table header cells in Opera 2007-12-12 16:55:55 +00:00
Brandon Aaron c424e79ccb Added another relative offset test 2007-12-04 21:29:28 +00:00
Brandon Aaron f576ceeea9 Beginnings of the offset test suite 2007-12-04 20:51:16 +00:00