Commit Graph

1120 Commits

Author SHA1 Message Date
Dave Methvin
0dc7b16e94 Fixes #8858. Pass the .trigger(..., data) to the event.special._default method. 2011-09-19 15:42:31 -04:00
Dave Methvin
d74c6bd0f4 Add unit tests for quickIs cases and fix the regexp as a result. 2011-09-19 15:42:31 -04:00
Dave Methvin
f3a9d30812 Cleanup for on/off unit test. 2011-09-19 15:42:30 -04:00
Dave Methvin
5d6a1424aa jQuery 1.7 event work:
Add .on() and .off() methods.
Write existing methods in terms of on/off.
Rewrite delegated handling to remove "live" event.
Fix existing code for jQuery style guide.
Fix existing bug in unit tests calling .undelegate()
2011-09-19 15:42:30 -04:00
Dave Methvin
8b4bd89add Fix bad calls to .undelegate().
Remove two tests that assume "live" data structure.
2011-09-19 15:42:30 -04:00
timmywil
28c2330665 Remove unnecessary commented code 2011-09-19 15:42:30 -04:00
timmywil
2e0c9bfd36 Allow second argument to be passed to array.indexOf. Fixes #9453. 2011-09-19 15:42:30 -04:00
timmywil
25205d3f90 Removing topic.js as it will be a plugin 2011-09-19 15:42:30 -04:00
jaubourg
4092e3d275 $.Callbacks, $.Topic and notify/progress on $.Deferred. 2011-09-19 15:42:30 -04:00
timmywil
1878885fb7 Animation state is tracked on toggled/stopped animations using the private data cache. Fixes #8685. See full commit message for more. Fixes #6641.
- Example: http://jsfiddle.net/timmywil/gqZL5/24/

- http://bugs.jquery.com/ticket/8685

- Check the completed timer has not been removed already so other timers do not get accidentally removed. Fixes #6641.

- Style edits, code reductions, and optimizations for the effects module
2011-09-19 15:42:30 -04:00
timmywil
92405d4f5f Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, #9261, #9570, #10178.
Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
2011-09-19 15:42:30 -04:00
Dave Methvin
81c778b2ca Fix #10208. Check for button as well as input when performing the #7071 VML crash workaround for IE special-events submit code. 2011-09-07 11:30:22 -04:00
rwldrn
8e8fa6dc1a Bug in rmultidash. Fixes #10194 2011-09-07 10:13:22 -04:00
jaubourg
f37fc9966e Considers Safari XMLHttpRequest's bug when testing for custom status text. Will have to be revisited when $.browser.chrome is introduced. 2011-08-27 01:54:12 +02:00
timmywil
d723942b27 Revert back to always setting the attribute to empty string before removal. Fixes #9699. 2011-08-25 15:33:54 -04:00
Dave Methvin
e57057739b Merge pull request #445 from rwldrn/9897
Fixes #9897. Wrap obj.constructor test in try/catch to avoid problems with host objects. Thanks to bkrausz.
2011-08-25 12:25:58 -07:00
Dave Methvin
3ba72f991d Merge pull request #464 from dmethvin/fix-10021-relative-negative-values
Fixes #10021. Allow negative relative values for `.css()`
2011-08-25 12:23:37 -07:00
Dave Methvin
a839af034d Merge pull request #465 from anton-ryzhov/master
Fixes #10076. $.inArray crashes IE6 and Chrome if second argument is `null` or `undefined` (Thanks anton-ryzhov!)
2011-08-25 12:22:47 -07:00
Dave Methvin
f4811bfb04 Merge pull request #468 from rwldrn/10080
Fixes #10080. Test cache for window inference.
2011-08-25 12:18:40 -07:00
Dave Methvin
749dbad981 Prioritize #id over <tag> to avoid XSS via location.hash (#9521) 2011-08-23 08:25:11 -04:00
timmywil
84f29084d6 Revert "Landing pull request 461. Adds a due diligence check for pre-defined data-* attrs during removal. Fixes #10026."
This reverts commit 6805fc2cd2.

A more cache-friendly solution is in the works.
2011-08-22 15:02:46 -04:00
Rick Waldron
6805fc2cd2 Landing pull request 461. Adds a due diligence check for pre-defined data-* attrs during removal. Fixes #10026.
More Details:
 - https://github.com/jquery/jquery/pull/461
 - http://bugs.jquery.com/ticket/10026
2011-08-22 13:49:18 -04:00
rwldrn
93beee8ac0 Test for window inference. Fixes #10080 2011-08-18 10:17:12 -04:00
dmethvin
1a738cb72f Landing pull request 463. Fixes #9572. Don't camelize the -ms- prefix because Microsoft didn't. A Fixes #9572.
More Details:
 - https://github.com/jquery/jquery/pull/463
 - http://bugs.jquery.com/ticket/9572
2011-08-17 17:34:09 -04:00
Rick Waldron
8537a740cd Landing pull request 467. Adds comments regarding opacity test adjustments.
More Details:
 - https://github.com/jquery/jquery/pull/467
2011-08-17 17:06:21 -04:00
rwldrn
e9e7db412b Landing pull request 466. Test if opacity is not expected val. Fixes effects test suite.
More Details:
 - https://github.com/jquery/jquery/pull/466
2011-08-17 16:29:55 -04:00
timmywil
5209dd75a0 Set back the offset test name to fix offset tests; iframe retrieval is based on test names 2011-08-17 16:08:44 -04:00
Anton Ryzhov
190136cf61 Unit test for this case
Codestyle fixes
2011-08-17 18:56:21 +04:00
Dave Methvin
015328787c Fixes #10021. Allow negative relative values for .css() (e.g., "+=-20px") since .animate() already allows it. Useful for when the relative value is a variable. 2011-08-16 18:00:44 -04:00
timmywil
0b8b636012 Fix effects test suite to account for opacity being removed rather than explicity set to 1 2011-08-16 11:19:19 -04:00
Dave Methvin
b22c904652 Merge pull request #456 from rwldrn/9318
Improves support for arbitrary numbers in data keys. Fixes #9318
2011-08-05 07:45:05 -07:00
Dave Methvin
37254bab91 Merge pull request #455 from rwldrn/9413
Supports interoperable removal of hyphenated/camelCase properties. Fixes #9413
2011-08-05 07:44:51 -07:00
Rick Waldron
22028e403f Adds failing tests 2011-08-05 10:17:02 -04:00
Rick Waldron
13647e94e0 Fixes assertion counts and dom element fixture issue 2011-08-05 10:02:33 -04:00
Rick Waldron
7daf44b5ab Adds failing tests for #9413 2011-08-05 09:43:15 -04:00
timmywil
e18cad6f88 Add test page for crashing IE8 when the testElement in support has a background (will run from the test suite). Supplements #9823. 2011-08-04 18:56:49 -04:00
timmywil
8c2cb49917 Now using getAttributeNode in all attribute cases in IE6/7, which normalizes attribute behaviors across browsers, is less hacky, and shortens the attribute code. Fixes #9980. 2011-08-04 18:16:15 -04:00
timmywil
fd4ee2a397 Make the tabIndex hook first a propHook and add it to attrHooks for back-compat reasons. Fixes #9979. 2011-08-04 18:16:15 -04:00
Dave Methvin
3cfb134ab4 Merge pull request #367 from gnarf37/index-optimize
Quick improvement to the performance of .index() with no arguments
2011-08-04 15:11:42 -07:00
Dave Methvin
8d5c874227 Merge pull request #416 from gnarf37/ticket_6652
CSS: Remove filter from style when setting opacity to 1 - Fixes #6652 - R
2011-08-04 15:09:31 -07:00
Dave Methvin
b5a16ead1a Merge pull request #412 from rwldrn/9587
jQuery.clone() check destination child nodes are not null. Fixes #9587
2011-08-04 14:57:51 -07:00
Dave Methvin
59936dc04d Merge pull request #432 from rwldrn/9794
Correct non-null|undefined evaluation of data property values. Fixes #9779
2011-08-04 14:55:21 -07:00
Dave Methvin
6a3395afcd Merge pull request #419 from rwldrn/9630
Unit tests assert that .contents().hasClass() works as expected. Fixes #9630
2011-08-04 14:33:52 -07:00
Dave Methvin
d7681a12e5 Merge pull request #447 from rwldrn/9914
Removes empty, duplicate named test block. Fixes #9914
2011-08-04 14:12:10 -07:00
Dave Methvin
5f54cb7066 Merge pull request #448 from rwldrn/9912
Renames duplicate named test block. Fixes #9912
2011-08-04 14:11:17 -07:00
Dave Methvin
dd3662d0ff Merge pull request #449 from rwldrn/9913
Removes duplicate test block. Fixes #9913
2011-08-04 14:10:25 -07:00
Rick Waldron
905e8920f9 Landing pull request 453. Typo correction strictEquals=>strictEqual. Fixes #9964.
More Details:
 - https://github.com/jquery/jquery/pull/453
 - http://bugs.jquery.com/ticket/9964
2011-08-03 14:02:10 -04:00
Rick Waldron
a4fb358eac Removes duplicate test block. Fixes #9913 2011-07-26 12:08:50 -04:00
Rick Waldron
06c41e09bd Renames duplicate named test block. Fixes #9912 2011-07-26 11:52:01 -04:00
Rick Waldron
b5f80a6e31 Removes empty, duplicate named test block. Fixes #9914 2011-07-26 11:49:23 -04:00