Commit graph

520 commits

Author SHA1 Message Date
Michael Monteleone bed759c95c Make sure that checked state is cloned properly. Based upon the patch by Michael, required better test cases and in doing so found more edge cases. Introduced a new check into jQuery.support as a result. Fixes #5929. 2010-01-25 18:43:33 -05:00
jeresig 390186b902 Make sure that special.add actually copies over event namespaces and data. Fixes #5779 and #5834. 2010-01-25 17:01:07 -05:00
jeresig 0474917c9d Make sure multiple bound events have their namespaces and data maintained. Fixes #3549. 2010-01-25 16:45:39 -05:00
jeresig e01ff6cda1 Cleaned up divs that should've been removed after a test run. 2010-01-25 15:18:51 -05:00
jeresig d24443fb55 Make sure that it's possible to preventDefault natively-triggered (submit, focus, blur, click) events. Fixes #5695. 2010-01-25 13:45:07 -05:00
John Resig 1a14a38ff7 Make sure original context is maintained and not the deep extended one. Fixes #5924. 2010-01-25 01:08:24 -05:00
John Resig f91b944cab Objects with length properties weren't getting serialized properly by jQuery.param(). Fixes #5862. 2010-01-25 00:46:03 -05:00
John Resig c639405c4d Don't set the context in .load() as it stops the global ajax events from firing. Fixes #5922. 2010-01-24 21:58:32 -05:00
John Resig 6a3d0996ed Make sure that XHTML-style HTML is purified in .html(). Fixes #5845. 2010-01-24 21:37:05 -05:00
jeresig f06e0e5575 Expose cleanData, make sure that all bound event handlers are properly cleaned up after html/empty/remove. Fixes #5856 and #5906. 2010-01-23 21:20:19 -05:00
jeresig 4f9aa62a85 Added in .height(fn) and .width(fn) support. Fixes #5915. 2010-01-23 20:49:59 -05:00
jeresig 781fe8b80d Make empty strings (and other non-string values) simply return null from parseJSON. Also added some parseJSON tests. Fixes #5859. 2010-01-23 17:08:26 -05:00
jeresig ea9e0ed841 Moved add() tests from core to traversing. 2010-01-23 16:54:24 -05:00
jeresig 3e286440d5 Make sure that .die() with no args works. Fixes #5789. 2010-01-23 16:37:12 -05:00
jeresig 8ea634fd07 Merge branch 'master' of github.com:jquery/jquery 2010-01-23 12:52:39 -05:00
Matt Curry f6ec9d54d1 Select (with a selected) fired change on first focus in IE. Fixes #5869. 2010-01-23 12:52:32 -05: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
Karl Swedberg a63754aa4e added tests for show/hide with falsy, non-zero values 2010-01-24 01:25:22 +08:00
Ben Alman 28ce15979f fixed jQuery.dir regression introduced with 1.4 *untils patch that errored when traversing XHTML text nodes with an until test 2010-01-24 01:20:53 +08:00
Irae Brasil 01f72026ec Added support for multiple live event handlers, live hover, and live focus/blur (mapped to focusin/focusout). Fixes #5804, #5801, #5852. 2010-01-23 11:56:24 -05:00
Irae Brasil 150e44cdda Make sure non-left-click events don't bubble. Fixes #3861. 2010-01-23 11:12:26 -05:00
John Resig 155ecf42a0 Make sure regular settings object is set as context for all Ajax requests, if none is specified. Fixes #5838. 2010-01-16 10:11:01 -05:00
Yehuda Katz 37b909de69 wrapAll(Function) doesn't actually make sense. That's why I couldn't figure out how to test it! 2010-01-14 00:45:29 -05:00
jeresig d431519d61 We only care that some of the html return value is escaped, not necessarily all of it (as is the case in Safari 3.x). 2010-01-13 15:23:05 -05:00
jeresig 05aaa33957 Make sure that null params aren't traversed. Fixes #5794. 2010-01-13 09:29:01 -05:00
jeresig 5d49335eac Make sure that disconnected nodes aren't sorted/uniqued. Fixes #5791. 2010-01-13 00:12:18 -05:00
jeresig 8e53f7b5d6 Fixed typo in logic, also disabled function setters in this case to allow the functions to passthrough and bind. 2010-01-12 21:54:06 -05:00
jeresig 4151ddef9d Bringing some selector tests back from Sizzle. 2010-01-11 23:55:02 -05:00
jeresig 6114565ab5 Merge branch 'master' of github.com:jquery/jquery 2010-01-11 23:32:33 -05:00
jeresig 2c8af19a06 Some more touching up of the replaceWith tests. 2010-01-11 23:32:11 -05:00
Paul Irish f14fadef73 adding extra useragents from trac tickets. correcting opera version 2010-01-12 11:42:30 +08:00
jeresig 31252b1e47 Did some reorganizing of the recently added replaceWith tests. 2010-01-11 17:29:48 -05:00
jeresig 23d600c66d Make sure that wrapInner works on elements that have no contents. Fixes #3552. 2010-01-11 16:31:31 -05:00
jeresig 3e9ef6f5c0 Final pass at fixing #5785. Need to make sure that inner-nodes are detached before the remove() occurs (and it should still occur, the nodes are being obliterated. 2010-01-11 16:25:01 -05:00
jeresig cb4880ee83 Made some additional tests for #5785. 2010-01-11 16:08:39 -05:00
jeresig 36a98b95c2 Make sure we use detach instead of remove in replaceWith. Fixes #5785. 2010-01-11 15:57:45 -05:00
jeresig 366039a6f0 Revert "Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code."
This reverts commit e9d5947b4a.
2010-01-11 13:48:40 -05:00
jeresig d6d5ed4c68 Merge branch 'setterargs' 2010-01-07 14:26:06 -05:00
jeresig 4fa00369f0 Added in support for .offset(Function). 2010-01-07 14:07:21 -05:00
jeresig ebaf374f2a Add .css(Function) incoming value tests. 2010-01-07 13:52:20 -05:00
jeresig 0bb4fd0af7 No need for the try/finally logic in the css tests, won't even work as expected. 2010-01-07 13:44:53 -05:00
jeresig 22ff8e9ea4 Added manipulation tests for setter function args. 2010-01-07 13:34:16 -05:00
jeresig 308d6cdad0 Make sure that a parsererror is thrown whenever malformed JSON comes back from a server (so that the Ajax error handler is called). Makes it uniform across browsers that do and don't have JSON.parse support. 2010-01-07 12:21:58 -05:00
jeresig cc1a34852f Added some .text(Function) tests. 2010-01-07 11:51:48 -05:00
jeresig f126f1ce85 Added tests for attribute function setters. 2010-01-07 11:15:40 -05:00
jeresig 12e8f07e34 Moved the val() tests from manipulation into attributes. 2010-01-07 09:55:15 -05:00
jeresig 84dd82eb1a Add some abort() Ajax tests. Verifies that #3984 works. 2010-01-06 12:13:56 -05:00
jeresig e424e01c47 Merge branch 'master' of github.com:jquery/jquery 2010-01-06 11:32:39 -05:00
jeresig e9d5947b4a Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code. 2010-01-06 11:32:29 -05:00
Filipe Fortes 0d1a2c1b11 Make sure to do a deep copy on arrays. #5750 2010-01-07 00:11:22 +08:00