aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Add a way to fire native events using dispatchEvent/fireEvent in ↵timmywil2011-10-281-22/+24
| | | | testinit.js; fixes failing click test in FF3.6
* Landing pull request 562. Make sure runtimeStyle isn't affected by ↵Mike Sherov2011-10-281-0/+23
| | | | | | | | dimensions. Fixes #9233. More Details: - https://github.com/jquery/jquery/pull/562 - http://bugs.jquery.com/ticket/9233
* DRY the hover pseudo-event, get the type right, allow override.Dave Methvin2011-10-271-1/+21
| | | | Now with working unit test for extra correctness! If external code defines a special.hover event, we won't string-hack "hover" into "mouseenter mouseleave".
* Pass correct arg list to special._default. Thanks @mikaelkaron!Dave Methvin2011-10-271-5/+5
|
* Remove attribute match from quickIsDave Methvin2011-10-241-18/+7
| | | | As @timmywil points out, attributes and properties are confused by IE6/7. This commit also reworks the unit test case to do a better job of checking className matches.
* Fix #10567. Make sure quickIs matches correct class name.Dave Methvin2011-10-241-0/+8
|
* Fix #10563. Ensure event.currentTarget==this if delegated.Dave Methvin2011-10-241-17/+21
| | | | Now, event.delegateTarget is always the element where the event was handled, regardless of whether delegated handlers are attached.
* Make jQuery().off(event) work for delegated events.Dave Methvin2011-10-241-0/+14
| | | | Logic to handle detaching by event was in both .off() and jQuery.event.remove; now it's only in .off(). It's a bit of a strange case since the event object (not the jQuery set) specifies the element.
* Make event.currentTarget the delegate node, always.Dave Methvin2011-10-241-2/+2
| | | | This lets us use currentTarget for its intended use and avoids creating a non-standard delegateTarget property.
* Don't run direct handlers if delegate did .stopPropagation().Dave Methvin2011-10-241-0/+16
|
* Landing pull request 550. IE6,7,8 cannot use cached fragments from unknown ↵timmywil2011-10-231-2/+12
| | | | | | | | elems. Fixes #10501. More Details: - https://github.com/jquery/jquery/pull/550 - http://bugs.jquery.com/ticket/10501
* Landing pull request 561. only check for not null in unit tests. Supplements ↵Mike Sherov2011-10-231-1/+1
| | | | | | | | #8388. More Details: - https://github.com/jquery/jquery/pull/561 - http://bugs.jquery.com/ticket/8388
* Landing pull request 553. Fallback to elem.style for disconnected nodes in ↵Mike Sherov2011-10-221-3/+12
| | | | | | | | | width/height retrieval. Fixes #8388. More Details: - https://github.com/jquery/jquery/pull/553 - http://bugs.jquery.com/ticket/10254 - http://bugs.jquery.com/ticket/8388
* Support setting both the enctype attribute and property (encoding in IE6/7). ↵timmywil2011-10-221-17/+29
| | | | Fixes #6743.
* Use the property name in elem.removeAttribute in IE6/7 to ensure correct ↵timmywil2011-10-171-3/+5
| | | | removals. Fixes #10514.
* Fix #10489. Disconnected elements don't bubble to document.Dave Methvin2011-10-131-13/+38
|
* Update sizzle; Add sizzle cache collision iframe test. Fixes #8539.timmywil2011-10-131-19/+28
|
* Do not call getElements on a script tag. Avoids unnecessary execution. Fixes ↵timmywil2011-10-121-2/+8
| | | | #10176.
* Tweak live-blur() test to silence a IE8 swarm fail.Dave Methvin2011-10-111-9/+8
|
* Leave the opacity test unanchored in case of floating point rounding browser ↵timmywil2011-10-111-2/+2
| | | | errors; small fix in queue tests. Fixes #5145.
* Squashed commit of the following:Corey Frang2011-10-111-3/+3
| | | | | | | | | | | | | | | commit af3fd32f207ed080084f10d76f89c07c414baa05 Merge: 83c08ff fdd60f8 Author: Dave Methvin <dave.methvin@gmail.com> Date: Tue Oct 11 21:17:56 2011 -0400 Merge branch 'stop' of https://github.com/gnarf37/jquery into pull-541-stop commit fdd60f8705e98430df62196f505cb929b2d7f6bc Author: Corey Frang <gnarf@gnarf.net> Date: Mon Oct 10 13:51:59 2011 -0500 .stop( [queue,] clearQueue, gotoEnd )
* Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric.Dave Methvin2011-10-111-0/+40
| | | | Thanks to Christian C. Salvadó for the unit tests!
* Fixes #10477. Get `.off(type, null, fn)` right.Dave Methvin2011-10-111-2/+13
|
* Removes isPending and introduces state as a means to retrieve the ↵jaubourg2011-10-111-4/+6
| | | | Deferred/Promise state. Unit tests amended.
* Effects - Allow queue: true - Fixes #10445Corey Frang2011-10-071-2/+21
|
* Add a hook for removing contenteditable in IE6/7 and remove the unnecessary ↵timmywil2011-10-061-9/+11
| | | | jQuery.attrFix. Fixes #10429.
* Rename jQuery.event.propHooks to .fixHooks.Dave Methvin2011-10-051-12/+6
| | | | We already have jQuery.propHooks for the .prop() method, so using the same name for unrelated functionality on a sub-namespace is crazy talk. Since the method involved is jQuery.event.fix(), this will hopefully tie them together. Oh, and it's shorter.
* Landing pull request 530. Fixes coniditional path for tr, td ↵Rick Waldron2011-10-041-0/+15
| | | | | | | | defaultDisplay() calls. Fixes #10416. More Details: - https://github.com/jquery/jquery/pull/530 - http://bugs.jquery.com/ticket/10416
* isProgressing becomes isPending. Unit tests added.jaubourg2011-10-041-1/+4
|
* We have too many unctions in this function.jaubourg2011-10-021-1/+1
|
* Landing pull request 525. Fixing tests with qunit.Corey Frang2011-10-011-14/+23
| | | | | More Details: - https://github.com/jquery/jquery/pull/525
* Add support for calling outer/inner Width/Height on the window and document. ↵timmywil2011-09-301-16/+29
| | | | Fixes #9434.
* Fix #10375. Don't put `type` in jQuery.event.propsDave Methvin2011-09-291-1/+4
| | | | It's already set in jQuery.Event, and copying it can clobber values set by the caller, e.g., the UI widget factory.
* Landing pull request 520. Unset the complete function just before calling it ↵Corey Frang2011-09-281-0/+32
| | | | | | | | to avoid an exception creating a loop. Fixes #5684. More Details: - https://github.com/jquery/jquery/pull/520 - http://bugs.jquery.com/ticket/5684
* Landing pull request 514. 1.7 - queue refactoring to handle delay stop - ↵Corey Frang2011-09-282-1/+91
| | | | | | | | Fixes #6150. More Details: - https://github.com/jquery/jquery/pull/514 - http://bugs.jquery.com/ticket/6150
* Fixes IE7 test suite. Keep the testElement attached and set necessary styles ↵timmywil2011-09-282-3/+3
| | | | on it to fix the offset with margin test.
* Restore original click prop hookRick Waldron2011-09-261-0/+1
|
* Fixed tests to run in IE9Rick Waldron2011-09-261-16/+19
|
* Minor cleanups to code. Futile effort to get IE to pass the unit test.Dave Methvin2011-09-251-3/+2
|
* propHooks now an object with `props` array and `filter` function.Dave Methvin2011-09-251-68/+32
| | | | Use the originalEvent to grab properties in filter functions since they often won't have been copied to event. Mark a few current props in the main jQuery.event.props list as deprecated, they aren't supported across all browsers.
* Merge branch '8789-fun-with-fix' of https://github.com/rwldrn/jquery into ↵Dave Methvin2011-09-241-4/+63
|\ | | | | | | | | | | | | | | fix-8789-rwldrn-fix Conflicts: src/event.js test/unit/event.js
| * Adds implementation tests for jQuery.event.propHooks #8789Rick Waldron2011-09-201-6/+65
| |
* | Fixes a weird IE7 bug in the unit tests. If anybody can shed some light on ↵jaubourg2011-09-221-1/+6
| | | | | | | | this one, I'm a taker.
* | Allow more cases to use `innerHTML` in the `.html` method.Dave Methvin2011-09-211-1/+9
|\ \ | | | | | | | | | Thanks @cmcnulty for the pull and the patience!
| * | move embed tests to area where objects tests are already happeningcmcnulty2011-03-091-15/+11
| | |
| * | Forgot to update the test countscmcnulty2011-02-251-2/+2
| | |
| * | (no commit message)cmcnulty2011-02-251-0/+13
| | |
* | | Trimmed down $.Callbacks and $.Deferred.jaubourg2011-09-211-13/+1
| | |
* | | Remove the rarely-used pseudos from quickis.htmlDave Methvin2011-09-211-10/+7
| |/ |/| | | | | The cutting will continue until file size is improved.
* | Remove stop argument in manipulation test, which no longer sets a timeouttimmywil2011-09-201-4/+3
| |