Commit Graph

2612 Commits

Author SHA1 Message Date
Dave Methvin
5d954c1b23 Check for null before isNaN(). 2011-08-16 19:30:20 -04:00
Dave Methvin
727d51ec9d Save a few bytes, thanks @danheberden! 2011-08-16 19:25:32 -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
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
Rick Waldron
e7af6a296b Improves support for arbitrary numbers in data keys. Fixes #9318 2011-08-05 10:17:24 -04:00
Rick Waldron
2ce5e95951 Supports interoperable removal of hyphenated/camelCase properties. Fixes #9413 2011-08-05 09:43:58 -04:00
timmywil
5c4a9cc001 Add back the background: none setting to avoid any possible crashes in IE from the support testElement. Fixes #9823. 2011-08-04 18:41:34 -04:00
timmywil
700c16b085 Remove unnecessary regex 2011-08-04 18:16:15 -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
2e298d92db Merge pull request #431 from DenisKnauf/master
input type=datetime-local (ajax doesn't support it, yet)
2011-08-04 14:51:43 -07:00
Dave Methvin
84936f1e64 Merge pull request #434 from Bubbi/bug_7071
ticket #7071 - Accessing the 'type' property on VML elements fails on IE during submit special handler
2011-08-04 14:41:11 -07:00
Dave Methvin
1846551a0c Merge pull request #451 from scottjehl/master
Check body existence before referencing its properties (fixes Nokia error)
2011-08-04 14:35:29 -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
5417a2cf6b Merge pull request #417 from rwldrn/9385
Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385
2011-08-04 14:31:56 -07:00
scottjehl
c8cc1b35e4 Make sure body is defined before attempting to use its properties. This check prevents an error from occurring when the width() or height() methods are called before the body is defined in browsers that return false on the first condition and proceed on to the second. For example, simply calling $( window ).width() from a script in the HEAD will throw an error in Nokia webkit browsers without this check in place. 2011-08-02 18:38:35 -04:00
Rick Waldron
8fed1e7b5e Do plain property check first, fallback to camelCase only if nec. Fixes #9794 2011-07-25 14:17:59 -04:00
Rick Waldron
ddf925b770 Non-breaking-space should achieve the same effect as a visible character. Fixes #9634 2011-07-25 14:02:37 -04:00
jaubourg
27291ff06d Fixes #9255: xml parsing error in $.parseXML is now properly detected for all browsers. Unit test added. 2011-07-23 03:26:36 +02:00
jaubourg
0ed99097bd Fixes #9854: propagates native statusText onto jqXHR.statusText. statusText in callbacks is still normalized. Unit test added. 2011-07-23 02:39:12 +02:00
jaubourg
1d220cdd55 Makes sure that status -1 (used when an internal error occured) will not tag jqXHR.readyState as complete (4). 2011-07-23 02:17:46 +02:00
jaubourg
e6a99fdb0e Fixes #9887: ajax now supports circular references into objects passed as context. Prefilter and transport developpers should add their own custom option into flatOptions when needed. Unit test added. 2011-07-23 02:10:17 +02:00
Steen Nielsen
2d275dfd05 Make sure that Internet Explorer 6-8 won't give a "failed" error, when a request for type is made on vml objects 2011-07-15 22:21:44 +02:00
Corey Frang
d1c4f0e0d1 Trying .removeAttribute instead of the regexp to remove the filter attribute 2011-07-13 22:47:34 -05:00
Rick Waldron
84d066ff7c Correct non-null|undefined evaluation of data property values. Fixes #9794 2011-07-10 21:45:50 -04:00
timmywil
1886d74434 Check the attribute node value for false for HTML5 booleans when not supported. Fixes #9504. 2011-07-09 14:52:16 -04:00
Denis Knauf
bb7d98f018 input type=datetime-local support for ajax. 2011-07-07 12:13:10 +02:00
jaubourg
e6f8951983 Fixes #9632. Adds res:// protocol to the list of local protocols. 2011-07-01 02:18:05 +02:00
jaubourg
e83fcdcb02 Fixes #9682. Removes data from the options for request with no content so that it is not used again in case of a retry. Unit test added. 2011-07-01 02:11:26 +02:00
jaubourg
139135a98a Fixes #9446. Context is properly propagated using pipe. If context was the original deferred, then context is updated to next deferred in the chain. Unit tests added. 2011-07-01 01:51:50 +02:00
jaubourg
5b92a5f5ec Replaces typo (status instead of state) as observed in #9585. 2011-07-01 00:16:34 +02:00
timmywil
ab1504f14f Set timerId to true instead of a number so that intervals set to 1 are not accidentally cleared when stopped. Fixes #9678.
- Adding a working test case would not be possible in this case, but all tests pass.
2011-06-28 11:46:03 -04:00
rwldrn
bb1702518e Filter hasClass by nodeType 1; Fixes #9630 2011-06-22 08:50:44 -04:00
gnarf
15cd7d83a9 CSS: Remove filter from style when setting opacity to 1 - Fixes #6652 - REMOVE FILTER:ALPHA(OPACITY=100) AFTER ANIMATION 2011-06-20 14:21:44 -05:00
rwldrn
dd93d0eb32 Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385 2011-06-20 09:57:26 -04:00
timmywil
96501d38a9 Allow similarly named classes (regression from 9499) and switch class retrieval to property when passing class to value functions. Fixes #9617. 2011-06-19 18:58:47 -04:00
Mike Sherov
124817e668 Landing pull request 413. Move border/padding checks to after width validation to avoid unnecessary fallbacks. Fixes #9598.
More Details:
 - https://github.com/jquery/jquery/pull/413
 - http://bugs.jquery.com/ticket/9300
 - http://bugs.jquery.com/ticket/9441
 - http://bugs.jquery.com/ticket/9598
2011-06-17 17:33:29 -04:00
rwldrn
5c3b9e0c24 jQuery.clone() check that destination child nodes are not null. Fixes #9587 2011-06-15 11:14:52 -04:00
gnarf
9a96af1d59 Quick improvement to the performace of .index() with no arguments - Adding a unit test for .index() of a node without a parent returns -1 2011-06-14 23:38:36 -05:00
Schalk Neethling
8a532d1575 Landing pull request 378. Comment typo in core.js.
More Details:
 - https://github.com/jquery/jquery/pull/378
2011-06-14 16:01:50 -04:00
rwldrn
5eef5917fd Landing pull request 409. Adds fillOpacity to internal cssNumber. Fixes #9548.
More Details:
 - https://github.com/jquery/jquery/pull/409
 - http://bugs.jquery.com/ticket/9548
2011-06-14 15:59:22 -04:00
Greg Hazel
13ceb0f56b Landing pull request 410. Moves jQuery attachment comment to outro.
More Details:
 - https://github.com/jquery/jquery/pull/410
2011-06-14 15:51:03 -04:00
rwldrn
6926247bf4 Landing pull request 397. withinElement rewrite in event. Fixes #6234, #9357, #9447.
More Details:
 - https://github.com/jquery/jquery/pull/397
 - http://bugs.jquery.com/ticket/6234
 - http://bugs.jquery.com/ticket/9357
 - http://bugs.jquery.com/ticket/9447
2011-06-14 15:38:46 -04:00
timmywil
641ad80211 Attribute hooks do not need to be attached in XML docs. Fixes #9568. 2011-06-13 10:02:13 -04:00
timmywil
39a2f29c29 Revert "Add catch block to try/finally in deferred. Fixes #9033. Test case needed." Line of exception was lost when debugging.
This reverts commit 0a80be67f4.
2011-06-08 10:55:52 -04:00
timmywil
db437be6e3 Check classes passed for duplicates. Fixes #9499. 2011-06-07 21:00:44 -04:00