Commit graph

1870 commits

Author SHA1 Message Date
jeresig 53396b879b Make sure that .width()/.height() don't return NaN also standardize on returning instead of auto for default values (which is what we do elsewhere in .css() as well). Fixes #7225. 2010-10-22 02:39:06 -04:00
jeresig 7e02cee5ff Make sure that the correct height/width of the elements is retreived. Fixes #7225. 2010-10-22 02:16:14 -04:00
jeresig d9a3e0080a Fix broken selector code from last commit. 2010-10-22 01:48:32 -04:00
jeresig 424500bcf0 Make sure that +, >, ~ leading, rooted, selectors go to the old engine. Thanks to @rkatic for the catch! Fixes #7220. 2010-10-22 01:18:58 -04:00
jeresig e4a38670b1 Make sure that height/width getters work on hidden inputs and disconnected elements. Fixes #7225. 2010-10-22 00:28:33 -04:00
jeresig 3df41db036 Make sure that the ready event doesn't double-fire when .bind(ready) is used. Fixes #7247. 2010-10-22 00:08:34 -04:00
jeresig 0174518a49 Only need to declare the data once. 2010-10-21 23:18:47 -04:00
Paul Irish 97dfa0d5a8 fadeToggle(). as suggested by Karl Swedberg in his jQcon talk. patched live! omg 2010-10-17 14:26:32 -04:00
John Resig 8a5df39045 Make sure that .data() (no args) returns a list of all the data- properties as well. Also make sure that accessing a data- property via .data() doesn't cause it to change again at a later time (it should be static). Fixes #7222, #7223. 2010-10-17 11:42:53 -04:00
John Resig a7d0b0b9e8 Var wasn't being explicitly declared. Fixes #7226. 2010-10-17 10:58:01 -04:00
John Resig e1b940d748 We removed deleteExpando after 1.4.2, for some reason. This caused problems with removeData() (no arguments). Fixes #7209. 2010-10-17 10:56:01 -04:00
John Resig 497fc9849e Bringing back the change from 80a4178af9, adapted to handle both the function collision and the issue mentioned in #7196. 2010-10-15 01:29:38 -04:00
jeresig 80a4178af9 Reverting commit 39addc87a3 after a report of problems. Fixes #7196. 2010-10-14 20:55:40 -04:00
John Resig ea507b3e99 Make sure that we don't attempt to handle scrolling when the node is disconnected from the document. Fixes #7190. 2010-10-14 14:52:31 -04:00
jeresig d490bcfa7c Oops, still have jQuery.ajax.* on the brain. 2010-10-13 21:25:23 -04:00
Justin Meyer f3d610e064 beforedeactivate will fire before focusout - use that to our advantage when working with the change event. 2010-10-13 10:38:29 -04:00
Justin Meyer 88068f82c1 Make sure that focusin/focusout bubbles in non-IE browsers. 2010-10-13 10:35:28 -04:00
Pinhook 39addc87a3 Handle issue with two concurrent JSONP requests that use the same callback name. 2010-10-13 10:30:19 -04:00
John Resig 2ef8da0924 Merge branch 'bug7150' of http://github.com/csnover/jquery 2010-10-12 21:51:44 -04:00
John Resig 783bb2a85f Fix some gaps in the handling of event data properties. Thanks to @jitter in ff6ceadbfd for the catches. 2010-10-12 20:56:46 -04:00
Colin Snover 1518ae1aed Fix patch for #7150, which was not deleting the events object properly on plain JS objects. Thanks to jitter for catching it. 2010-10-12 18:49:37 -05:00
John Resig 478fa8fdb3 Forgot to remove the child selector in the previous commit. 2010-10-12 10:56:02 -04:00
John Resig 085de84959 The child selector-prefix branch doesn't work with selectors that have a larger depth. Removing for now - will need to re-evaluate in the future. 2010-10-12 10:13:00 -04:00
John Resig 5200194f51 Make sure that .find() with multiple direct child selectors is handled correctly. Fixes #7144. 2010-10-12 09:19:49 -04:00
Colin Snover ff6ceadbfd Use a key name less likely to result in collisions for events on plain JS objects. Fixes bug #7150. 2010-10-11 23:35:18 -05:00
John Resig 6245ecb2b9 The world isn't ready for moving the Ajax methods to jQuery.ajax.*. Hope to move them there some day. Fixes #7146. 2010-10-11 18:29:52 -04:00
John Resig 1df5084c97 Handle some edge cases with binding events to the window object (which is also a plain object - causing some confusion). Fixes #7143. 2010-10-11 18:20:57 -04:00
John Resig d23f63b13e Merge branch 'animateHooks' of http://github.com/lrbabe/jquery into lrbabe-animateHooks 2010-10-11 16:44:12 -04:00
John Resig 5f30ae3b6f Merge branch 'bug7141' of http://github.com/csnover/jquery into csnover-bug7141 2010-10-11 16:40:10 -04:00
Colin Snover 5646a4feee Fix olddisplay was inappropriately set when calling hide on an already hidden element. Fixes #7141. 2010-10-11 15:22:43 -05:00
Scott González 22ccbf82c8 Fixed getting styles from disconnected nodes. Fixes #7148. 2010-10-11 15:11:03 -04:00
lrbabe aa9e4db1ab Make $.fn.animate compatible with jQuery.cssHooks 2010-10-11 16:08:38 +02:00
John Resig 385ca2aa89 Make sure closest works on disconnected DOM nodes. Fixes #7142. 2010-10-11 07:45:15 -04:00
jeresig 19b4ba35c4 Return the zeroed-out bounding box instead of passing it on. 2010-10-10 18:54:30 -04:00
jeresig 884de15fb9 Make sure that the unload event doesn't leak in IE - use jQuery's binding mechanism to make that happen. 2010-10-10 18:01:59 -04:00
jeresig fac7e61f16 Tweaking some formatting of the closest changes. 2010-10-10 15:42:56 -04:00
jeresig ba149e78a9 Switch back to using Sizzle.matchesSelector. 2010-10-10 15:36:02 -04:00
jeresig eb67d99416 Use the new Sizzle matches functionality. 2010-10-10 15:14:23 -04:00
jeresig 6f0b06aa9b Fix formatting and switch to using the new matchesSelector method in Sizzle. 2010-10-10 13:37:36 -04:00
wycats 0ca35de311 Should improve performance of closest considerably. Benchmark proof in speed/closest.html 2010-10-09 21:33:02 -07:00
jeresig cbf9d874e5 Change event did not fire in IE when an explicit .focus() was used. Fixes #6374. 2010-10-09 19:04:15 -04:00
jeresig 79305ed146 Fix the case where live change was breaking if a live click was bound ahead of time. Very similar to #6359. Fixes #6505. 2010-10-09 18:16:08 -04:00
John Resig 10065a8deb Merge branch 'master' of http://github.com/petersendidit/jquery into petersendidit-master 2010-10-09 18:04:54 -04:00
John Resig 4a0759dc79 Merge branch 'bug7123' of http://github.com/csnover/jquery into csnover-bug7123 2010-10-09 16:27:59 -04:00
John Resig 9b655a176b Merge branch 'bug7018' of http://github.com/csnover/jquery into csnover-bug7018 2010-10-09 16:25:55 -04:00
John Resig b0dcc1746f Merge branch 'animate-nonblock' of http://github.com/csnover/jquery into csnover-animate-nonblock 2010-10-09 16:21:02 -04:00
jeresig da597bcf90 Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c28425f for the catch. 2010-10-09 12:26:44 -04:00
jeresig 2ae872c594 Make sure null/NaN values aren't set in .css(). Fixes #7116. 2010-10-09 10:52:53 -04:00
Colin Snover 2ca3659895 Prevent IE from throwing errors when setting RGBA values. Fixes #5509. 2010-10-09 10:42:01 -04:00
Colin Snover b03416954d Coerce all array values to strings before comparison in val(). Fixes bug #7123. 2010-10-08 22:48:06 -05:00