]> source.dussan.org Git - jquery.git/log
jquery.git
13 years agoFixes #10477. Get `.off(type, null, fn)` right.
Dave Methvin [Wed, 12 Oct 2011 00:30:07 +0000 (20:30 -0400)]
Fixes #10477. Get `.off(type, null, fn)` right.

13 years agoRemoves isPending and introduces state as a means to retrieve the Deferred/Promise...
jaubourg [Wed, 12 Oct 2011 00:23:56 +0000 (20:23 -0400)]
Removes isPending and introduces state as a means to retrieve the Deferred/Promise state. Unit tests amended.

13 years agoFix focus/blur unit test issues. Reopens #6705.
Dave Methvin [Tue, 11 Oct 2011 03:14:08 +0000 (23:14 -0400)]
Fix focus/blur unit test issues. Reopens #6705.

In the event refactor, I tried to have the focus/blur events trigger the focus/blur plus focusin/focusout events but this doesn't handle various real-world cases that expect a trigger()ed jQuery handler to run and be able to pass data even if the native event shouldn't fire.

This reopens a bug that causes a double-fire of
inline event handlers.

13 years agoFix #10468. Remove jQuery.event.proxy and jQuery.event.guid.
Dave Methvin [Tue, 11 Oct 2011 01:51:15 +0000 (21:51 -0400)]
Fix #10468. Remove jQuery.event.proxy and jQuery.event.guid.

These were deprecated several versions ago and have always been undocumented. Use jQuery.proxy() and jQuery.guid instead.

13 years agoMerge pull request #535 from gnarf37/queue-true
Julian Aubourg [Fri, 7 Oct 2011 15:52:54 +0000 (08:52 -0700)]
Merge pull request #535 from gnarf37/queue-true

Effects - Allow queue: true - Fixes #10445

13 years agoMinor fix in events; undeclared var from last commit
timmywil [Fri, 7 Oct 2011 15:45:42 +0000 (11:45 -0400)]
Minor fix in events; undeclared var from last commit

13 years agoEffects - Allow queue: true - Fixes #10445 535/head
Corey Frang [Fri, 7 Oct 2011 15:16:38 +0000 (10:16 -0500)]
Effects - Allow queue: true - Fixes #10445

13 years agoMerge pull request #531 from rwldrn/events.js-cleanup
Dave Methvin [Fri, 7 Oct 2011 14:14:53 +0000 (07:14 -0700)]
Merge pull request #531 from rwldrn/events.js-cleanup

Style sweep

13 years agoAdd a hook for removing contenteditable in IE6/7 and remove the unnecessary jQuery...
timmywil [Thu, 6 Oct 2011 21:17:51 +0000 (17:17 -0400)]
Add a hook for removing contenteditable in IE6/7 and remove the unnecessary jQuery.attrFix. Fixes #10429.

13 years agoAdditional nits 531/head
Rick Waldron [Thu, 6 Oct 2011 20:36:15 +0000 (16:36 -0400)]
Additional nits

13 years agoStyle sweep
Rick Waldron [Thu, 6 Oct 2011 14:12:05 +0000 (10:12 -0400)]
Style sweep

13 years agoRename jQuery.event.propHooks to .fixHooks.
Dave Methvin [Thu, 6 Oct 2011 01:41:32 +0000 (21:41 -0400)]
Rename jQuery.event.propHooks to .fixHooks.

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.

13 years agoMerge pull request #522 from rwldrn/10371
Dave Methvin [Wed, 5 Oct 2011 21:22:31 +0000 (14:22 -0700)]
Merge pull request #522 from rwldrn/10371

Removes 'subline' from test/index.html. Fixes #10371

13 years agoLanding pull request 530. Fixes coniditional path for tr, td defaultDisplay() calls...
Rick Waldron [Tue, 4 Oct 2011 19:53:19 +0000 (15:53 -0400)]
Landing pull request 530. Fixes coniditional path for tr, td defaultDisplay() calls. Fixes #10416.

More Details:
 - https://github.com/jquery/jquery/pull/530
 - http://bugs.jquery.com/ticket/10416

13 years agoisProgressing becomes isPending. Unit tests added.
jaubourg [Tue, 4 Oct 2011 16:08:46 +0000 (12:08 -0400)]
isProgressing becomes isPending. Unit tests added.

13 years agoMerge pull request #529 from shichuan/master
Julian Aubourg [Tue, 4 Oct 2011 15:27:10 +0000 (08:27 -0700)]
Merge pull request #529 from shichuan/master

updated Juriy Zaytsev's detecting event support technique link in support.js

13 years agoupdated Juriy Zaytsev's detecting event support technique link in support.js 529/head
Shi Chuan [Tue, 4 Oct 2011 15:09:12 +0000 (23:09 +0800)]
updated Juriy Zaytsev's detecting event support technique link in support.js

13 years agoWe have too many unctions in this function.
jaubourg [Sun, 2 Oct 2011 13:50:09 +0000 (09:50 -0400)]
We have too many unctions in this function.

13 years agoLanding pull request 523. Adds character frequency reporting tool, use: make freq...
Rick Waldron [Sat, 1 Oct 2011 20:58:01 +0000 (16:58 -0400)]
Landing pull request 523. Adds character frequency reporting tool, use: make freq. Fixes #10372.

More Details:
 - https://github.com/jquery/jquery/pull/523
 - http://bugs.jquery.com/ticket/10372

13 years agoLanding pull request 525. Fixing tests with qunit.
Corey Frang [Sat, 1 Oct 2011 20:49:49 +0000 (16:49 -0400)]
Landing pull request 525. Fixing tests with qunit.

More Details:
 - https://github.com/jquery/jquery/pull/525

13 years agoAdd support for calling outer/inner Width/Height on the window and document. Fixes...
timmywil [Fri, 30 Sep 2011 21:50:07 +0000 (17:50 -0400)]
Add support for calling outer/inner Width/Height on the window and document. Fixes #9434.

13 years agoFix #10375. Don't put `type` in jQuery.event.props
Dave Methvin [Thu, 29 Sep 2011 14:34:40 +0000 (10:34 -0400)]
Fix #10375. Don't put `type` in jQuery.event.props

It's already set in jQuery.Event, and copying it can clobber values set by the caller, e.g., the UI widget factory.

13 years agoUpdate Sizzle. Fixes #3144, #6863.
timmywil [Wed, 28 Sep 2011 20:47:18 +0000 (16:47 -0400)]
Update Sizzle. Fixes #3144, #6863.

13 years agoUpdating the source version to 1.7pre
Dave Methvin [Wed, 28 Sep 2011 19:50:56 +0000 (15:50 -0400)]
Updating the source version to 1.7pre

13 years agoRemoves 'subline' from test/index.html. Fixes #10371 522/head
Rick Waldron [Wed, 28 Sep 2011 19:50:33 +0000 (15:50 -0400)]
Removes 'subline' from test/index.html. Fixes #10371

13 years agoTagging the 1.7b1 release. 1.7b1
Dave Methvin [Wed, 28 Sep 2011 19:50:22 +0000 (15:50 -0400)]
Tagging the 1.7b1 release.

13 years agoExpose jQuery.event.simulate for use by special event handlers.
Dave Methvin [Wed, 28 Sep 2011 16:04:27 +0000 (12:04 -0400)]
Expose jQuery.event.simulate for use by special event handlers.

13 years agoLanding pull request 520. Unset the complete function just before calling it to avoid...
Corey Frang [Wed, 28 Sep 2011 16:00:21 +0000 (12:00 -0400)]
Landing pull request 520. Unset the complete function just before calling it to avoid an exception creating a loop. Fixes #5684.

More Details:
 - https://github.com/jquery/jquery/pull/520
 - http://bugs.jquery.com/ticket/5684

13 years agoLanding pull request 514. 1.7 - queue refactoring to handle delay stop - Fixes #6150.
Corey Frang [Wed, 28 Sep 2011 15:55:29 +0000 (11:55 -0400)]
Landing pull request 514. 1.7 - queue refactoring to handle delay stop - Fixes #6150.

More Details:
 - https://github.com/jquery/jquery/pull/514
 - http://bugs.jquery.com/ticket/6150

13 years agoMove createSafeFragment to the top to satisfy lint
timmywil [Wed, 28 Sep 2011 15:39:05 +0000 (11:39 -0400)]
Move createSafeFragment to the top to satisfy lint

13 years agoFixes IE7 test suite. Keep the testElement attached and set necessary styles on it...
timmywil [Wed, 28 Sep 2011 15:30:38 +0000 (11:30 -0400)]
Fixes IE7 test suite. Keep the testElement attached and set necessary styles on it to fix the offset with margin test.

13 years agoFixes a fail in unit/traversing. Use an iframe's document for creating the html5...
timmywil [Wed, 28 Sep 2011 14:06:29 +0000 (10:06 -0400)]
Fixes a fail in unit/traversing. Use an iframe's document for creating the html5 fragment when necessary.

13 years agoRestore original click prop hook 519/head
Rick Waldron [Mon, 26 Sep 2011 17:03:24 +0000 (13:03 -0400)]
Restore original click prop hook

13 years agoFixed tests to run in IE9
Rick Waldron [Mon, 26 Sep 2011 17:00:45 +0000 (13:00 -0400)]
Fixed tests to run in IE9

13 years agoMerge branch 'fix-8789-rwldrn-fix' of git://github.com/dmethvin/jquery into fix-8789...
Rick Waldron [Mon, 26 Sep 2011 16:46:01 +0000 (12:46 -0400)]
Merge branch 'fix-8789-rwldrn-fix' of git://github.com/dmethvin/jquery into fix-8789-rwldrn-fix

* 'fix-8789-rwldrn-fix' of git://github.com/dmethvin/jquery:
  Minor cleanups to code. Futile effort to get IE to pass the unit test.
  propHooks now an object with `props` array and `filter` function.
  Moves mouse properties to mouseProps
  current state
  Removes early return loop, must copy properties
  Shortcircuit fix if possible
  More ref localization
  Remove unnec. empty line
  More reference caching
  Cache reference to propHook lookup and result
  Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks gnarf
  Adds notes re: crash status of fix conditions
  Moves key event fixes to own even prop hook defs
  jQuery.event.propHooks => this.propHooks where possible
  Removes pageX pageY from prop list
  Updates rmouseEvent
  Implements jQuery.event.propHooks. Fixes #8789
  Adds implementation tests for jQuery.event.propHooks #8789

13 years agoRevert QUnit. Recent start/stop changes cause problems with some start/stop calls...
timmywil [Mon, 26 Sep 2011 16:01:21 +0000 (12:01 -0400)]
Revert QUnit. Recent start/stop changes cause problems with some start/stop calls in effects and offset. Run git submodule update

13 years agoMinor cleanups to code. Futile effort to get IE to pass the unit test.
Dave Methvin [Mon, 26 Sep 2011 02:04:52 +0000 (22:04 -0400)]
Minor cleanups to code. Futile effort to get IE to pass the unit test.

13 years agopropHooks now an object with `props` array and `filter` function.
Dave Methvin [Sun, 25 Sep 2011 23:56:34 +0000 (19:56 -0400)]
propHooks now an object with `props` array and `filter` function.

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.

13 years agoMerge branch '8789-fun-with-fix' of https://github.com/rwldrn/jquery into fix-8789...
Dave Methvin [Sun, 25 Sep 2011 02:26:41 +0000 (22:26 -0400)]
Merge branch '8789-fun-with-fix' of https://github.com/rwldrn/jquery into fix-8789-rwldrn-fix

Conflicts:
src/event.js
test/unit/event.js

13 years agoMoves mouse properties to mouseProps 502/head
Rick Waldron [Fri, 23 Sep 2011 19:45:19 +0000 (15:45 -0400)]
Moves mouse properties to mouseProps

13 years agoSimplify the `.closest(Array)` code since we no longer use it internally.
Dave Methvin [Fri, 23 Sep 2011 13:11:02 +0000 (09:11 -0400)]
Simplify the `.closest(Array)` code since we no longer use it internally.

It was previously used in liveHandler for delegated events, but is now baked in to events.js. The signature is a strange one since it returns an array of matches, *not* a chainable jQuery object. I've marked it as deprecated.

The code is simplified by two things: 1) We don't care about optimizing the duplicate selectors case, and 2) `.is()` now handles positional selectors by looking for set membership, which eliminates the workaround that was being applied here. See https://github.com/jquery/jquery/commit/70e2e32e0eb03607ad0c8b7752dbd7747da47164 for that commit.

13 years agocurrent state
Rick Waldron [Fri, 23 Sep 2011 00:02:34 +0000 (20:02 -0400)]
current state

13 years agoRemoves early return loop, must copy properties
Rick Waldron [Thu, 22 Sep 2011 23:05:06 +0000 (19:05 -0400)]
Removes early return loop, must copy properties

13 years agoShortcircuit fix if possible
Rick Waldron [Thu, 22 Sep 2011 15:30:03 +0000 (11:30 -0400)]
Shortcircuit fix if possible

13 years agoMore ref localization
Rick Waldron [Thu, 22 Sep 2011 15:22:56 +0000 (11:22 -0400)]
More ref localization

13 years agoRemove unnec. empty line
Rick Waldron [Thu, 22 Sep 2011 15:14:45 +0000 (11:14 -0400)]
Remove unnec. empty line

13 years agoMore reference caching
Rick Waldron [Thu, 22 Sep 2011 15:12:42 +0000 (11:12 -0400)]
More reference caching

13 years agoCache reference to propHook lookup and result
Rick Waldron [Thu, 22 Sep 2011 15:07:16 +0000 (11:07 -0400)]
Cache reference to propHook lookup and result

13 years agoRestore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks...
Rick Waldron [Thu, 22 Sep 2011 14:59:29 +0000 (10:59 -0400)]
Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks gnarf

13 years agoAdds notes re: crash status of fix conditions
Rick Waldron [Thu, 22 Sep 2011 14:52:29 +0000 (10:52 -0400)]
Adds notes re: crash status of fix conditions

13 years agoMoves key event fixes to own even prop hook defs
Rick Waldron [Thu, 22 Sep 2011 14:43:32 +0000 (10:43 -0400)]
Moves key event fixes to own even prop hook defs

13 years agojQuery.event.propHooks => this.propHooks where possible
Rick Waldron [Thu, 22 Sep 2011 14:35:18 +0000 (10:35 -0400)]
jQuery.event.propHooks => this.propHooks where possible

13 years agoFixes a weird IE7 bug in the unit tests. If anybody can shed some light on this one...
jaubourg [Thu, 22 Sep 2011 07:35:57 +0000 (09:35 +0200)]
Fixes a weird IE7 bug in the unit tests. If anybody can shed some light on this one, I'm a taker.

13 years agoAllow more cases to use `innerHTML` in the `.html` method.
Dave Methvin [Thu, 22 Sep 2011 03:05:26 +0000 (23:05 -0400)]
Allow more cases to use `innerHTML` in the `.html` method.

Thanks @cmcnulty for the pull and the patience!

13 years agoFix #7061. Lazy-attach to the genuine submit event for delegation.
Dave Methvin [Thu, 22 Sep 2011 01:15:00 +0000 (21:15 -0400)]
Fix #7061. Lazy-attach to the genuine submit event for delegation.

Avoids the problems that arise when we try to trigger submit behavior at clicky-time.

13 years agoTrimmed down $.Callbacks and $.Deferred.
jaubourg [Wed, 21 Sep 2011 15:00:55 +0000 (17:00 +0200)]
Trimmed down $.Callbacks and $.Deferred.

13 years agoRemove the rarely-used pseudos from quickis.html
Dave Methvin [Wed, 21 Sep 2011 13:40:57 +0000 (09:40 -0400)]
Remove the rarely-used pseudos from quickis.html

The cutting will continue until file size is improved.

13 years agoAllow IE .trigger()ed events through on a check/radio.
Dave Methvin [Wed, 21 Sep 2011 03:01:07 +0000 (23:01 -0400)]
Allow IE .trigger()ed events through on a check/radio.

13 years agoDon't fire change on an already-selected radio.
Dave Methvin [Wed, 21 Sep 2011 02:18:34 +0000 (22:18 -0400)]
Don't fire change on an already-selected radio.

Thanks to Brandon Wallace (@bman654) for his code review. Also tweaks delegatetest.html output.

13 years agoFix #6593. Don't let onchange trigger twice for elements in IE.
Dave Methvin [Tue, 20 Sep 2011 02:50:29 +0000 (22:50 -0400)]
Fix #6593. Don't let onchange trigger twice for elements in IE.

This is a major revamp of the approach we use for IE change events. Instead of trying to track and simulate, we lazy-attach real change events to inputs and have only one workaround for check/radio. Somewhat more resource intensive but closes several sticky bugs. The onchange is still triggered for check/radio on blur but no double-trigger on any element occurs.

13 years agoRemoves pageX pageY from prop list
Rick Waldron [Tue, 20 Sep 2011 18:54:33 +0000 (14:54 -0400)]
Removes pageX pageY from prop list

13 years agoUpdates rmouseEvent
Rick Waldron [Tue, 20 Sep 2011 17:14:59 +0000 (13:14 -0400)]
Updates rmouseEvent

13 years agoImplements jQuery.event.propHooks. Fixes #8789
Rick Waldron [Tue, 20 Sep 2011 16:54:34 +0000 (12:54 -0400)]
Implements jQuery.event.propHooks. Fixes #8789

13 years agoAdds implementation tests for jQuery.event.propHooks #8789
Rick Waldron [Tue, 20 Sep 2011 16:44:49 +0000 (12:44 -0400)]
Adds implementation tests for jQuery.event.propHooks #8789

13 years agoLanding pull request 509. Add a comment explaining the use of document.getElementsByT...
Mathias Bynens [Tue, 20 Sep 2011 15:23:01 +0000 (11:23 -0400)]
Landing pull request 509. Add a comment explaining the use of document.getElementsByTagName('body')[0] instead of document.body.

More Details:
 - https://github.com/jquery/jquery/pull/509

13 years agoRemove stop argument in manipulation test, which no longer sets a timeout
timmywil [Tue, 20 Sep 2011 13:58:20 +0000 (09:58 -0400)]
Remove stop argument in manipulation test, which no longer sets a timeout

13 years agoFix #9901, verified by this unit test.
Dave Methvin [Tue, 20 Sep 2011 13:16:13 +0000 (09:16 -0400)]
Fix #9901, verified by this unit test.

13 years agoLanding pull request 491. Fix #7322. Make `.is()` with a positional selector work...
Dave Methvin [Tue, 20 Sep 2011 03:50:52 +0000 (23:50 -0400)]
Landing pull request 491. Fix #7322. Make `.is()` with a positional selector work like delegated event logic. Fixes #7322.

More Details:
 - https://github.com/jquery/jquery/pull/491
 - http://bugs.jquery.com/ticket/7322

13 years agoUpdate qunit.
Dave Methvin [Tue, 20 Sep 2011 03:38:45 +0000 (23:38 -0400)]
Update qunit.

13 years agosemicolon for jshint happiness
timmywil [Tue, 20 Sep 2011 03:25:02 +0000 (23:25 -0400)]
semicolon for jshint happiness

13 years agoMove filter tests to proper location
timmywil [Tue, 20 Sep 2011 03:14:37 +0000 (23:14 -0400)]
Move filter tests to proper location

13 years agoAdded filtering tests and updating sizzle to fix filtering with positional selectors...
timmywil [Tue, 20 Sep 2011 03:09:40 +0000 (23:09 -0400)]
Added filtering tests and updating sizzle to fix filtering with positional selectors. Fixes #10315.

13 years agoLanding pull request 512. 1.7 - removeData now takes space separated lists and arrays...
Corey Frang [Tue, 20 Sep 2011 01:16:20 +0000 (21:16 -0400)]
Landing pull request 512. 1.7 - removeData now takes space separated lists and arrays of keys - Fixes #7323.

More Details:
 - https://github.com/jquery/jquery/pull/512
 - http://bugs.jquery.com/ticket/7323

13 years agoLanding pull request 492. 1.7 Remove multiple attributes (Symmetry with removeClass...
Rick Waldron [Tue, 20 Sep 2011 01:07:07 +0000 (21:07 -0400)]
Landing pull request 492. 1.7 Remove multiple attributes (Symmetry with removeClass) Combines patches submitted by leeoniya, zertosh and my own tests. Fixes #5479.

More Details:
 - https://github.com/jquery/jquery/pull/492
 - http://bugs.jquery.com/ticket/5479

13 years agoLanding pull request 477. 1.7 jQuery.offset.supportsFixedPosition. Fixes #6809.
Rick Waldron [Tue, 20 Sep 2011 01:03:41 +0000 (21:03 -0400)]
Landing pull request 477. 1.7 jQuery.offset.supportsFixedPosition. Fixes #6809.

More Details:
 - https://github.com/jquery/jquery/pull/477
 - http://bugs.jquery.com/ticket/6809

13 years agoLanding pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. Fixes ...
Rick Waldron [Mon, 19 Sep 2011 20:42:36 +0000 (16:42 -0400)]
Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. Fixes #6485.

More Details:
 - https://github.com/jquery/jquery/pull/490
 - http://bugs.jquery.com/ticket/6485

13 years agoLanding pull request 331. Add support for registering jQuery as an AMD module. Fixes...
jrburke [Mon, 19 Sep 2011 20:37:22 +0000 (16:37 -0400)]
Landing pull request 331. Add support for registering jQuery as an AMD module.  Fixes #7102.

More Details:
 - https://github.com/jquery/jquery/pull/331
 - http://bugs.jquery.com/ticket/7102

13 years agoLanding pull request 503. 1.7 data: set a flag in the private data cache to avoid...
Corey Frang [Mon, 19 Sep 2011 20:13:57 +0000 (16:13 -0400)]
Landing pull request 503. 1.7 data: set a flag in the private data cache to avoid having to scan attributes multiple times - Fixes #8909.

More Details:
 - https://github.com/jquery/jquery/pull/503
 - http://bugs.jquery.com/ticket/8909

13 years agoLanding pull request 500. 1.7 - "public data" stored as a key on "internal data"...
Corey Frang [Mon, 19 Sep 2011 20:13:14 +0000 (16:13 -0400)]
Landing pull request 500. 1.7 - "public data" stored as a key on "internal data" - Fixes #8921.

More Details:
 - https://github.com/jquery/jquery/pull/500
 - http://bugs.jquery.com/ticket/8921

13 years agoLanding pull request 496. 1.7 animate: allow named queues to be used by animate....
Corey Frang [Mon, 19 Sep 2011 20:08:00 +0000 (16:08 -0400)]
Landing pull request 496. 1.7 animate: allow named queues to be used by animate. Fixes #9280.

More Details:
 - https://github.com/jquery/jquery/pull/496
 - http://bugs.jquery.com/ticket/9280

13 years agoLanding pull request 510. Add notes about #9699 fix.
Rick Waldron [Mon, 19 Sep 2011 19:54:07 +0000 (15:54 -0400)]
Landing pull request 510. Add notes about #9699 fix.

More Details:
 - https://github.com/jquery/jquery/pull/510
 - http://bugs.jquery.com/ticket/9699

13 years agoUpdate sizzle
timmywil [Mon, 19 Sep 2011 19:41:35 +0000 (15:41 -0400)]
Update sizzle

13 years agoAdd sparse array performance improvement for inArray. Thanks rwaldron, rkatic, and...
timmywil [Thu, 15 Sep 2011 20:26:35 +0000 (16:26 -0400)]
Add sparse array performance improvement for inArray. Thanks rwaldron, rkatic, and jdalton

13 years agoCall .is(:visible) on the window or document does not thrown an error in IE. Fixes...
timmywil [Thu, 15 Sep 2011 13:27:36 +0000 (09:27 -0400)]
Call .is(:visible) on the window or document does not thrown an error in IE. Fixes #10267.

13 years agoCheck for property support in the boolHook before falling back to attribute node...
timmywil [Wed, 14 Sep 2011 18:25:14 +0000 (14:25 -0400)]
Check for property support in the boolHook before falling back to attribute node. Fixes #10278.

13 years agoFix inArray for positive start indices
timmywil [Tue, 13 Sep 2011 01:46:16 +0000 (21:46 -0400)]
Fix inArray for positive start indices

13 years agoRevert "Fix #6593. Don't trigger `change` event twice when simulating it on IE."...
Dave Methvin [Mon, 12 Sep 2011 01:18:32 +0000 (21:18 -0400)]
Revert "Fix #6593. Don't trigger `change` event twice when simulating it on IE." Add inline handler monitor to delegatetest.html so we can see it fail.

This reverts commit e77686495b6e34938575c9c0fe978cb4a0be6f05.

13 years agoEliminate global variable "l" (!)
Dave Methvin [Mon, 12 Sep 2011 00:44:44 +0000 (20:44 -0400)]
Eliminate global variable "l" (!)

13 years agoImprove delegation/change tests to display event firing order and duplicate events.
Dave Methvin [Mon, 12 Sep 2011 00:38:54 +0000 (20:38 -0400)]
Improve delegation/change tests to display event firing order and duplicate events.

13 years agoNarrow the invisible-element embargo to focus/blur events.
Dave Methvin [Sat, 10 Sep 2011 18:46:58 +0000 (14:46 -0400)]
Narrow the invisible-element embargo to focus/blur events.

13 years agoUpdate "Fix #6593. Don't trigger `change` event twice when simulating it on IE."
Dave Methvin [Fri, 9 Sep 2011 03:31:47 +0000 (23:31 -0400)]
Update "Fix #6593. Don't trigger `change` event twice when simulating it on IE."

This reverts commit 3d0de29d5615c1b1d74c72e6272484961a4ba243.

13 years agoFix #9593. Create a new jQuery.Event rather than a plain object when simulate()ing...
Dave Methvin [Thu, 8 Sep 2011 19:59:23 +0000 (15:59 -0400)]
Fix #9593. Create a new jQuery.Event rather than a plain object when simulate()ing events. Fix a related issue with not passing src to jQuery.Event constructor.

13 years agoFix #6593. Don't trigger `change` event twice when simulating it on IE.
Dave Methvin [Thu, 8 Sep 2011 19:03:40 +0000 (15:03 -0400)]
Fix #6593. Don't trigger `change` event twice when simulating it on IE.

13 years agoFix #6170. Don't try to run DOM methods on `window`.
Dave Methvin [Thu, 8 Sep 2011 14:18:36 +0000 (10:18 -0400)]
Fix #6170. Don't try to run DOM methods on `window`.

13 years agoRemove the relatedTarget adjustment for mouseenter/leave events, it's an ambiguous...
Dave Methvin [Thu, 8 Sep 2011 13:03:16 +0000 (09:03 -0400)]
Remove the relatedTarget adjustment for mouseenter/leave events, it's an ambiguous case anyway and it is expensive to do.

13 years agoCosmetic and style cleanups.
Dave Methvin [Thu, 8 Sep 2011 03:21:33 +0000 (23:21 -0400)]
Cosmetic and style cleanups.

13 years agoFix the special event handler for mouseover/out events.
Dave Methvin [Thu, 8 Sep 2011 02:49:32 +0000 (22:49 -0400)]
Fix the special event handler for mouseover/out events.

And use the /dist version of jquery.js, willya?

13 years agoSplit out mouse hover/enter/leave tests into a separate file and add several more...
Dave Methvin [Thu, 8 Sep 2011 01:30:35 +0000 (21:30 -0400)]
Split out mouse hover/enter/leave tests into a separate file and add several more scenarios.

13 years agoRework #1486 patch to avoid `try/catch` and look for hidden elements by `.offsetWidth...
Dave Methvin [Thu, 8 Sep 2011 01:02:13 +0000 (21:02 -0400)]
Rework #1486 patch to avoid `try/catch` and look for hidden elements by `.offsetWidth`. Unit test currently disabled due to Chrome bug.

13 years agoFix #9951. Precompute path for `.trigger()` to match up with W3C spec.
Dave Methvin [Thu, 8 Sep 2011 00:57:37 +0000 (20:57 -0400)]
Fix #9951. Precompute path for `.trigger()` to match up with W3C spec.