Commit Graph

1446 Commits

Author SHA1 Message Date
Dave Methvin
b0a352bfa7 Fix #12534. Don't die on browsers lacking getBoundingClientRect. 2012-09-13 18:47:07 -04:00
jaubourg
74cdd78497 deferred.promise(obj) should work with non-objects. Fixes #12521. Much needed unit tests added! 2012-09-13 15:44:12 +02:00
Dave Methvin
9c5089a60d Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give HEAD requests any respect. Skip them rather than hear Swarmy call FAILURE on each run. 2012-09-11 15:42:10 -04:00
Mike Sherov
670e3ff040 Fix #12243, $("col").width() should return the column's width. Close gh-916. 2012-08-29 12:34:12 -04:00
Dave Methvin
b6a7d022ee Fix #12347 and #12384. Use a fresh div in jQuery.clean each time.
Regression was introduced in 22ad8723ce most likely because the clown who fixed http://bugs.jquery.com/ticket/4011 didn't add a unit test.
2012-08-28 17:02:01 -04:00
Dave Methvin
84e45301c5 Update placeholder references to tickets. 2012-08-28 10:09:22 -04:00
Dave Methvin
afd717df9e Fix #12383. All selectors should be delegateTarget-relative 2012-08-28 10:07:16 -04:00
Dave Methvin
05337e78fa Revert "Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL."
This reverts commit c01e022f33.

We actually changed DELETE to accept a body on purpose, see http://bugs.jquery.com/ticket/7285 .
2012-08-24 11:59:01 -04:00
Dave Methvin
a5be986206 Revert "Fix #12120. Always stack .before/.after, and fix disconnected nodes."
This reverts commit e2eac3f4d2.

There is a 1.7 regression with isDisconnected() that we should fix before tackling this.
2012-08-24 11:57:48 -04:00
Dave Methvin
e2eac3f4d2 Fix #12120. Always stack .before/.after, and fix disconnected nodes. 2012-08-23 23:25:57 -04:00
Dave Methvin
2263134b22 Fix #10863. Allow newlines in JSON data- attributes. 2012-08-23 22:19:06 -04:00
Dave Methvin
c01e022f33 Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL. 2012-08-23 21:33:29 -04:00
Mike Sherov
a9c2a9bf61 Scorch the earth and retreat on readyState interactive! Close gh-907. 2012-08-23 20:28:22 -04:00
Elijah Manor
10901f7d9f Fix #12266. IE9/10 says document[0] is document.frames[0]? Close gh-903. 2012-08-22 21:48:02 -04:00
Richard Gibson
9e246dd7fa Fix #12350: jQuery.trim should remove BOM 2012-08-21 08:59:51 -04:00
Dave Methvin
ac043b1bc8 Revert "Fix #12350. Remove BOM in jQuery.trim. Close gh-897."
This reverts commit 2b5b4ebbd7.

String.prototype.trim doesn't trim BOM in Safari 5.0 so this won't work without additional feature detects.

http://swarm.jquery.org/result/165379
2012-08-20 09:33:35 -04:00
Mike Sherov
0f553ed0ca Fix #12282. IE has premature .readyState == "interactive". Close gh-901. 2012-08-20 08:16:07 -04:00
Mike Sherov
ad040181dc Fix #12283. Return null for dimension getters on non elements. Fix gh-900. 2012-08-19 22:58:05 -04:00
Mike Sherov
9f86dc922e Fix #12324, line-height "normal" isn't always "1". Close gh-898. 2012-08-19 22:46:06 -04:00
Wesley Walser
2b5b4ebbd7 Fix #12350. Remove BOM in jQuery.trim. Close gh-897. 2012-08-19 22:39:16 -04:00
Corey Frang
0fea007a1a Fix #12273. Don't call easing functions for duration 0 animations. Close gh-895. 2012-08-19 22:09:08 -04:00
Corey Frang
3812f9436d Fix #12278. Promises on non-default queue wait until a dequeue is attempted on an empty queue. Close gh-893. 2012-08-19 21:48:52 -04:00
Elijah Manor
488e502b98 Improve oldIE unit tests for fuzzy object clone. Close gh-880.
Related to the patch in gh-870.
2012-08-19 20:56:41 -04:00
Nikita Govorov
ff7b7cfd1d Fix #12149. Avoid memory leak on oldIE change events. Close gh-878. 2012-08-19 20:24:03 -04:00
jaubourg
9d07525a71 Makes sure "adding" a string to a Callbacks object doesn't cause a stack overflow, just ignore the value like 1.7.x righfully did. Fixes #12233. Unit tests added. 2012-08-16 19:12:59 +02:00
jaubourg
b292c4c2df Calling load with null as the data parameter now properly issues a GET request, not a POST request. Unit tests added. Fixes #12234. 2012-08-16 16:45:18 +02:00
Dave Methvin
77412e0305 Wait for both .stop() tests to finish, don't count on timing. 2012-08-09 21:30:51 -04:00
Richard Gibson
ba6372d968 No ticket: fix failure from zero-assertion test generating a second empty OL element. Closes gh-888 2012-08-09 10:42:09 -04:00
Dave Methvin
1d8bf0a2b5 Fix #12203. .undelegate() should not remove direcly bound events. 2012-08-07 20:49:34 -04:00
Timmy Willison
e07b444dfe Fix a regression where has with multiple contexts was not filtering correctly. Test added. 2012-07-27 18:19:18 -04:00
Corey Frang
0a1be437ff Adding a check for double progress call in effects units 2012-07-25 21:33:58 -05:00
Daniel Chatfield
155855b2a9 Fix #12127, fer real. IE9/10 check state on clone. Close gh-875. 2012-07-25 22:23:24 -04:00
Dave Methvin
a475f1aa4d Pull in unit tests from gh-877, thanks @orkel! 2012-07-25 21:58:59 -04:00
Dave Methvin
d4ec6804e8 Give .stop() queue animations more leeway for Stutterin' Swarmy.
This test sometimes fails with only 2 animations left in the queue, so this extends the first animation in case we're running afoul of the one-second rule for background windows.
2012-07-25 21:33:30 -04:00
Dave Methvin
ed898c62c8 Fix #12148. Let .toggle() call the public .hide() for punching.
There is a slightly shorter way to do this but it's not Closure-friendly.
2012-07-25 21:24:49 -04:00
Corey Frang
f0432d54f6 This should repair the unit 2012-07-25 15:36:21 -05:00
Corey Frang
81432c8835 Trying to repair a unit 2012-07-25 15:18:25 -05:00
Timmy Willison
17a26f5bd9 Fail silently if closest is somehow called on a document. Fixes #10726. 2012-07-25 16:05:59 -04:00
Dave Methvin
3478cbb4d4 Remove IE8 testswarm hacks for offset. 2012-07-25 15:42:53 -04:00
Dave Methvin
de213be372 Revert "Fix #12127. IE9/10 checks fall off the box on clone. Close gh-873."
This reverts commit 569d064fc9.

Causing test fails in Safari, IE6, and IE7.
2012-07-25 14:38:55 -04:00
Dave Methvin
bc07ae8c1d Loosen the ajax statusText check so Safari AND Chrome pass. 2012-07-25 14:31:21 -04:00
Dave Methvin
ce15bd7d0c Fix #7579. Don't convert to number if it changes the string. Close gh-852.
Net effect here is that hex numbers and most exponential-format numbers or long sequences of digits will remain strings rather than being coerced to numbers. `The people have spoken.
2012-07-25 10:28:50 -04:00
Daniel Chatfield
569d064fc9 Fix #12127. IE9/10 checks fall off the box on clone. Close gh-873. 2012-07-25 09:32:33 -04:00
Timmy Willison
d8aa8e71b0 Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA 2012-07-23 14:51:55 -04:00
Richard Gibson
e761e0c6e0 Support event delegation with relative selectors. Fixes #10762. Closes gh-860. 2012-07-23 12:49:45 -04:00
Mike Sherov
aa3fabce46 Fix #12088, Safari 5 and more percentages in getComputedStyle
In particular, min-width and max-width are taunting the awesome hack. Closes gh-865.
2012-07-22 22:03:27 -04:00
Corey Frang
94924a05de Fix the logic to set overflow:hidden on width & height animations - Fixes #12117 - Closes gh-869 2012-07-20 18:36:55 -05:00
jaubourg
ced5e9037a Extracts the serialization code from the ajax module so that alternative ajax implementations can use it without the need for the whole ajax module to be included in the build. 2012-07-13 09:47:43 +02:00
Richard Gibson
60e249437c Followup on #10791: "[class~=foo]" is better. Closes gh-858. 2012-07-12 10:08:24 -04:00
Dave Methvin
f4e5c1729a Fix #11547. toLowerCase not work good on XML attributes.
This was fixed to some extent in gh-724 but there were insufficient test cases. Removing the lowercase completely allows IE 6/7 to work properly since there you need an exact case match for attributes, even in HTML docs. More discussion and test cases in the comments on gh-724.
2012-07-11 23:09:07 -04:00