John Resig
b1e161466c
Disabled an extra event binding.
2009-01-05 23:06:57 +00:00
John Resig
45b3a884d5
Timeout test appears to be flaky - disabling, for now.
2009-01-05 22:14:26 +00:00
John Resig
60226c8a30
The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.
2009-01-05 22:05:59 +00:00
John Resig
d3141dcdba
Simplified the XML clone test.
2009-01-05 21:56:35 +00:00
John Resig
c6de039bb1
Simplified the XML selector test (save the result).
2009-01-05 21:04:15 +00:00
John Resig
f796ad14fd
Fixed an issue with how broken selector tests were handled in IE (the exception was misdirected).
2009-01-05 20:43:58 +00:00
John Resig
122b672f70
Landed cross-browser support for tabIndex, by Scott, closes ticket #3649 .
2009-01-05 17:34:42 +00:00
John Resig
4694e537bc
Forgot to merge in some of the new tests from Sizzle.
2009-01-05 01:24:14 +00:00
John Resig
989667c9fd
Synced with the Sizzle repository.
2009-01-05 00:21:13 +00:00
John Resig
c0294278db
Landed a proper fix for #3255 - which involves doing createElement instead of going through the normal clean method.
2009-01-03 00:51:07 +00:00
John Resig
b2583a7526
Fixed an issue that was introduced by [5743] (which didn't have a test case, either - that has been resolved). This fixed #3739 .
2009-01-02 23:32:10 +00:00
Ariel Flesler
989e3f61f7
jquery event: closes #3772 . The extra function on $.event.trigger isn't supported anymore.
2009-01-02 22:23:52 +00:00
John Resig
d20e7fede1
Disabled testing of em-defined borders, need to look back into this issue.
2009-01-02 19:25:54 +00:00
John Resig
c59bf424a1
The exact escaping of the text() test isn't important - as long as < is escaped.
2009-01-02 19:23:12 +00:00
John Resig
6a3d1a1e28
Fixed an issue with .not("#foo, bar") not working correctly, closes #3757 .
2008-12-31 19:21:24 +00:00
Ariel Flesler
c0446c70d5
jquery event:
...
* event objects have isDefaultPrevented, isPropagationStopped and isImmediatePropagationStopped methods.
* Removed donative and dohandlers from $.trigger
* event.result carries the last returned data from a handler(not undefined).
* $.trigger doesn't keep bubbling if stopPropagation() is called.
* Same event object is used all along for global trigger
* Fixed the bug where target doesn't change when triggering on many elements.
* The data array on $.trigger was accumulating objects as it bubbles.
testrunner: adding more tests
2008-12-31 02:58:13 +00:00
John Resig
4f7441910f
Made sure that return false works in .live() along with the event object being passed in as the first argument.
2008-12-30 20:45:33 +00:00
Ariel Flesler
4afa608351
jquery data: Closes #3539 . Exposed jQuery.queue. Moved all the data and queue functions to their own module. Made the dequeue function more generic(designed to be used on functions). Closes #3748 . Reverted a previous modification.
2008-12-30 02:31:26 +00:00
Ariel Flesler
4f99e793fa
jquery event: jQuery.Event can be instantiated without the 'new' keyword.
2008-12-29 21:57:29 +00:00
Ariel Flesler
4ca4ce52f7
jquery event: Closes #3662 . Adds a jQuery.Event class. Makes trigger and fix simpler. Adds currentTarget attribute to event objects. Event object isn't passed as part of data.
2008-12-25 21:44:54 +00:00
Ariel Flesler
654d946ead
jquery fx: Closes #3219 . jQuery.fn.toggle can accept a boolean argument indicating show/hide.
2008-12-25 20:13:42 +00:00
Ariel Flesler
0a8f96ac3d
jquery core: Closes #1681 . jQuery.fn.toggleClass can accept a boolean argument indicating add/remove.
2008-12-25 20:12:18 +00:00
Ariel Flesler
0e3e470edc
jquery core: Closes #3255 . The div used in jQuery.clean is emptied in the end. Cleaning the parentNode's properties of the elements.
2008-12-25 19:47:56 +00:00
Ariel Flesler
4b25b147ab
jquery core: Closes #3641 . jQuery.merge stopped looping once a 0 was found.
2008-12-25 19:25:30 +00:00
John Resig
c03a280155
Added a new liveQuery/event delegation hybrid method: .live and .die. Easily adapts event delegation to the jQuery style. $("div").live("click", fn); $("div > #foo").live("submit", fn); $("div").die("click");
2008-12-22 04:59:34 +00:00
John Resig
67ded9a36a
Made sure that the correct event.taget is being used in event bubbling.
2008-12-22 02:02:05 +00:00
John Resig
25885e07b2
Added support for bubbling triggered events.
2008-12-22 01:57:06 +00:00
John Resig
6b09032864
Added support for the new .closest() method (very useful for event delegation).
2008-12-22 00:52:53 +00:00
John Resig
c85243dfc4
Landing the new Sizzle selector engine. There'll need to be some later tweaks (to make the tests a little more pragmatic - especially for document order elements). But it appears to be passing well and that's enough. Closes #3563 .
2008-12-20 01:19:17 +00:00
John Resig
46ee77bcc3
Fixed line-ending issue.
2008-12-19 05:43:37 +00:00
John Resig
3963fcb30d
Tweaked mis-numbered makeArray test.
2008-12-19 05:42:15 +00:00
John Resig
132b8de614
Switched to using DOM Fragments in domManip.
2008-12-19 04:37:54 +00:00
John Resig
2875460f63
Added selector path logging (creates a trail that plugins can use).
2008-12-19 04:37:10 +00:00
John Resig
77344f4c50
Added support for multiple-namespaced events (in bind, trigger, and unbind).
2008-12-19 04:34:12 +00:00
Ariel Flesler
e611289a79
testrunner: re adding the test for a function within isFunction.
2008-12-16 00:05:04 +00:00
Brandon Aaron
5c21e44fce
new offset method, faster and no more browser detection
2008-11-10 02:39:03 +00:00
Jörn Zaefferer
12bb969411
core: tests cleanup for compability with qunit updates: stop() now actually accepts an argument (ajax.js); selectors should be confined to fixture(event.js)
2008-10-24 14:40:58 +00:00
Ariel Flesler
b860c30b82
test runner: Commented 2 tests that jam the suite.
2008-10-21 01:48:23 +00:00
Ariel Flesler
96e8f355da
testrunner: fixing tests that were broken due to recent updates to qunit.
2008-10-18 21:59:09 +00:00
John Resig
0865b073f8
A test was using the old / child selector syntax - updating to the new style.
2008-08-21 17:08:50 +00:00
Ariel Flesler
1023cf1d72
jquery core: closes #3248 , #3079 , #3026 , #3176 , #3202 , #3129 . jQuery.makeArray doesn't support functions anymore. Voiding the conflict with Scriptaculous 1.7.x.
2008-08-12 19:34:30 +00:00
Jörn Zaefferer
db63af1068
core/test: replaced local qunit copy with qunit via svn:externals; inlined styles specific to polluted.php; kept testrunner.js with just the noConflict call
2008-08-08 17:42:52 +00:00
Jörn Zaefferer
c66aa57029
core: deleted useless test/fix.html
2008-08-08 17:21:42 +00:00
Ariel Flesler
a27b5d0468
jquery core: closes #2652 . val() supports option elements, also simplified the code.
2008-07-23 17:00:32 +00:00
Ariel Flesler
69212c501f
jquery core: closes #2968 . Simplified isFunction, dropping support for DOM methods and functions like alert() on IE.
2008-07-23 16:18:05 +00:00
Ariel Flesler
fa13d6009d
test runner: adding scriptaculous 1.7.0 for the polluted test runner. It fails, but 1.8.x doesn't fail anymore.
2008-07-22 02:12:08 +00:00
Ariel Flesler
28937ded0e
test runner: optimizing a test for speed.
2008-07-01 02:08:45 +00:00
Ariel Flesler
a23e4361fc
test runner: recloses #3102 . Adding one test for $().eq("1")
2008-07-01 02:05:46 +00:00
Ariel Flesler
febe463cc2
test runner: closes #3048 . The text from the tests, is html-escaped.
2008-06-17 20:11:47 +00:00
Ariel Flesler
21d669135d
test runner: 2 tests for [5728].
2008-06-17 19:59:16 +00:00