Yehuda Katz
6bc08c2b2f
Remove Ajax requirement for simple XML tests
...
Previously, all jQuery tests that wanted an XML
document would make an Ajax request to go through
jQuery's XML parsing logic in jQuery.ajax. Now,
use jQuery.parseXML instead.
This removes the need for the Ajax server for
these tests, improves their performance, and
decouples simple core tests from Ajax.
(with scottgonzalez)
2012-04-15 17:41:54 -04:00
Rick Waldron
5181ce0f35
Amends #10324 . Remove object markup fixture; create programmatically
2012-04-11 15:40:03 -04:00
Dave Methvin
0f827c800b
Followup on #10324 . Eliminate duplicate name attribute.
2012-04-10 22:30:26 -04:00
Rick Waldron
2f1ddd4507
Fix #11500 . Allow triggered, simulated change events.
2012-04-10 21:54:07 -04:00
Rick Waldron
62a4c84503
Fix #10324 . IE9 fumbles the innerHTML on object elements.
2012-04-10 21:38:11 -04:00
Arne de Bree
0e2642d216
Fix 11547. XML and IE DOM can't be force-lowercase in removeAttr().
...
See discussion on pull request: https://github.com/jquery/jquery/pull/724
2012-04-10 18:25:04 -04:00
Dave Methvin
376e0d9fa8
Merge pull request #730 from datag/patch-1
...
Typo for header in function access()
2012-04-10 14:32:24 -07:00
Mike Sherov
d7217cc29c
Fix 11004. getWH() box-sizing:border-box includes padding and border.
2012-04-10 17:26:52 -04:00
Dominik D. Geyer
fccfeefb10
Fixed/adjusted source comment of function access()
2012-04-07 10:13:55 +03:00
Mike Sherov
5376a809c0
Fix #10413 , #10679 . Fix box-sizing:border-box and add css vendor prefix support.
2012-04-06 08:39:59 -04:00
Mike Sherov
77536f5cb2
Fix #10996 , simplify offset code by forsaking ancient browsers.
2012-04-05 21:55:28 -04:00
Mike Sherov
91a6d9dafc
Speed up .css() by eliminating the middleman.
2012-04-05 21:42:23 -04:00
Richard Gibson
590bcab245
Fix #11543 : .has should work on detached elements.
2012-04-05 21:03:41 -04:00
Oleg
c04bfce556
Fixes #11338 , .replaceWith should work on detached nodes.
2012-04-05 12:53:36 -04:00
cmcnulty
4cd57d727a
Fix 11528. Exclude link/html5 tags from innerHTML path on oldIE.
2012-04-05 12:26:20 -04:00
tsinha
36d2d9ae93
Fix #8653 , .param() undefined/null values become empty strings
2012-04-05 11:06:54 -04:00
Sindre Sorhus
fdf37de778
Followup to #11469 ; add test case and clarify code.
2012-04-04 23:30:13 -04:00
Sindre Sorhus
d5ee856a44
Remove moot second argument from slice.call()
...
The zeroes were added to fix http://bugs.jquery.com/ticket/4942 but those browsers are no longer supported.
2012-04-04 23:22:15 -04:00
Richard Gibson
22ad8723ce
Fix #11325 : smaller/stronger domManip/buildFragment/clean
2012-04-04 23:03:34 -04:00
J Bruni
7c814f4837
Updating year to 2012.
2012-04-04 22:29:56 -04:00
Oskari
da70ca6b96
Use multiply rather than divide for speed.
2012-04-04 22:14:33 -04:00
Robert Katic
077fd7ed6f
Fix #11439 . Remove use of undefined jQuery.support.parentNode.
2012-04-04 21:57:48 -04:00
Andy Monat
dc337f628c
Fix #11435 . Remove obsolete test code.
2012-04-04 21:38:47 -04:00
Oleg
203a168980
Fix #8545 . Plug event handling memory leak in oldIE.
2012-04-04 21:38:46 -04:00
jaubourg
41056ab195
Merge branch '1.8/#11011/Callbacks' into 1.8pre
2012-04-03 14:19:43 +02:00
jaubourg
03c5836fa1
Merge branch '1.8/#11010/Deferred' into 1.8pre
2012-04-03 14:19:27 +02:00
jaubourg
914df9cb42
For much improved consistency, jqXHR.abort() sets a default statusText of 'canceled' right until after beforeSend has been called (in which case it reverts to the default of 'abort'): now all early aborts have a statusText of 'canceled'.
2012-04-02 02:04:46 +02:00
jaubourg
395612bb15
$.ajax now always returns an object implementing the Promise interface. Fixes #10944 . Unit tests amended.
...
For back-compat, in case of an early abort, callbacks passed in the options are not called (while subsequent callbacks attached to the returned Promise are).
For early abort triggered by returning false in beforeSend, statusText is "canceled".
2012-04-02 01:54:19 +02:00
jaubourg
a41f240674
Makes Deferred implementation truly Promise/A compliant. Unit tests amended. Actually few changes required in jQuery's own source and we gained 8 bytes minified gzipped \o/.
2012-04-02 01:29:39 +02:00
jaubourg
7fa0da08b8
Allows traditional options object for $.Callbacks flags. Fixes #11011 . Unit tests added.
2012-04-02 01:03:34 +02:00
timmywil
a29d482894
Update Sizzle and add test for sizzle getText fix. Removes usage of innerText. Fixes #11153 .
2012-03-30 17:10:25 -04:00
Rick Waldron waldron.rick@gmail.com
2795a8390c
Ensure innerHTML of src/dest clone nodes is correctly set. Fixes #10324
...
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
2012-03-23 11:54:12 -04:00
Rick Waldron waldron.rick@gmail.com
379a137016
Failing test ( http://gyazo.com/0a7285e1d10039bc8ec8bc340fac15a9.png )
...
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
2012-03-23 11:31:05 -04:00
Dave Methvin
c68f4fe548
Updating the source version to 1.7.3pre
2012-03-21 12:46:59 -07:00
Dave Methvin
754bda21cb
Tagging the 1.7.2 release.
2012-03-21 12:46:34 -07:00
louisremi
07c8a9b244
Fix #11469 . Exclude margins from the negative property check.
2012-03-21 12:28:10 -07:00
Dave Methvin
f40c862d1e
Update release notes version.
2012-03-09 13:47:59 -05:00
Dave Methvin
d39f73583d
Updating the source version to 1.7.2pre
2012-03-09 13:43:52 -05:00
Dave Methvin
968e750673
Tagging the 1.7.2rc1 release.
2012-03-09 13:42:24 -05:00
Dave Methvin
8d94ed91e4
Revert "No more php/js logic duplication..." on a hunch.
...
TestSwarm hasn't been happy since this commit, and everyone deserves to be happy.
This reverts commit 318d47b730
.
2012-03-07 15:31:35 -05:00
jaubourg
ae138ac6d1
Makes sure start is always called with default context and no arguments. Should stop FF from acting up. Hopefully, this ugly patch can be removed in the future.
2012-03-07 18:23:46 +01:00
jaubourg
c5712a24bd
Prevents firefox from hanging on the test (could it be that firefox passes the delay to start?).
2012-03-07 17:55:07 +01:00
jaubourg
d30859eb6b
Makes parseXML act like parseJSON when given an empty or non-string input: now returns null rather than throwing an exception. Incidently fixes #10527 . Unit tests added.
2012-03-07 17:37:14 +01:00
jaubourg
bd56456b1e
Fixes #4624... 3 years later, people!
2012-03-07 17:08:59 +01:00
jaubourg
d3fad51cad
Fixes #11264 or rather seriously limits the risk of global ajaxSettings screwing with script loading in domManip. Gotta love globals and sneaky dependencies. Unit test added.
2012-03-07 16:54:05 +01:00
jaubourg
484cea1b56
Fixes #11426 : getting the responseText of an xhr should be tried/caught because of IE's inability to give access to binary data. Unit test added.
2012-03-07 15:39:39 +01:00
jaubourg
014b2a5700
Not testing his code properly makes Julian a silly coder.
2012-03-07 11:58:18 +01:00
jaubourg
318d47b730
No more php/js logic duplication. Ensures modules are still loaded separately when using "file:" protocol (makes debugging much easier, /kiss @rwaldron). Ensures test iframes will use the same jquery as specified in the main document. Known issue: chrome will cringe at cross-frame access using file: protocol, apparently chrome sees this as cross-domain... go figure.
2012-03-07 09:54:52 +01:00
Dave Methvin
92a92be10f
Fix #11049 . Let bubbling submit be cancellable in oldIE.
2012-03-06 19:56:17 -05:00
Rick Waldron waldron.rick@gmail.com
619f0d908a
Guard against exceptions when clearing safeChildNodes.
...
Supplements #11356 and fixes unit test failures in FF 3.6.
2012-03-06 12:54:51 -05:00