Rick Waldron
1d5d959ee0
Optimized Data rewrite
2013-02-11 12:39:44 -05:00
Mark Raddatz
6a0ee2d9ed
Fix #13401 : replaceWith(""). Close gh-1163.
2013-02-08 09:49:14 -05:00
Richard Gibson
dc9b009c13
Fix 363299ac
failures: protect Safari 5.1 from CSP
2013-02-07 23:43:21 -05:00
Richard Gibson
6971d9d8e2
Fix 363299ac
failures
2013-02-07 17:03:04 -05:00
Richard Gibson
363299ac24
Ref #13316 : Sync all documents on full vs. minified source. Close gh-1147.
2013-02-07 15:16:28 -05:00
Oleg
f3db084f7c
Fix #13310 . Get the right display value for disconnected nodes. Close gh-1156.
2013-02-04 15:22:07 -05:00
Rick Waldron
7f94a5cc3a
2.0: Rewrite data.js (Incl. event, manipulation, tests)
2013-02-03 15:27:55 -05:00
Rick Waldron
ed0e2d1e8a
Adds test for jQuery.extend deep copy with array, followed by object. Refutes and Closes #1154
2013-02-03 12:52:08 -05:00
Andrew Plummer
d654914fd0
event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153
...
Squashed commit of the following:
commit 5935a362c7
Author: Andrew Plummer <plummer.andrew@gmail.com>
Date: Fri Feb 1 02:40:42 2013 +0900
Using "hasOwnProperty" to check for direct properties "type" and
"namespace" on events before triggering.
(cherry picked from commit f005af54e4
)
2013-01-31 12:04:32 -06:00
Timmy Willison
d3a2ef7cfe
Magic fixing for previous commit
2013-01-30 20:48:09 -05:00
adamcoulombe
54fc5fdfa2
Fix #13150 , .has() w/o args checks for any callbacks. Close gh-1111.
2013-01-27 13:35:30 -05:00
Dave Methvin
6f7b6915bf
Fix #12656 . Make event shorthands excludable.
2013-01-27 09:07:00 -05:00
Dave Methvin
a6c358d046
Fix #12846 . Restore overflow when animation is stopped.
2013-01-26 22:02:15 -05:00
Richard Gibson
487b703521
Fix #13274 : Wrap sourceMap directive in multiline comments. Close gh-1143.
...
(cherry picked from commit ac93559eb9
)
2013-01-25 10:09:27 -05:00
byroot
bfc61b879e
Don't try and convert data for 204 No Content responses. Fixes #13292 . Fixes #13261 .
2013-01-24 02:34:02 +01:00
Timmy Willison
caac041fcc
Ignore file inputs when serializing forms. File input serialization is handled by plugins. Fixes #13306 .
2013-01-23 12:23:46 -05:00
Timmy Willison
b326225d90
Fix failing tests, add support for empty spans in Opera. Supplements #13132 , #10406 .
2013-01-21 18:03:07 -05:00
Timmy Willison
372e04e78e
Treat an element as hidden if either offsetWidth or offsetHeight is 0. Fixes #13132 , #10406 .
2013-01-21 17:12:31 -05:00
jaubourg
4c6fb65d35
Fixes #13276 . Unit test is enough since the 2.x XHR transport already dismissed the XML as parsed by the XHR instance.
2013-01-21 02:53:50 +01:00
Oleg
19def21df4
Fix #13232 , fix jQuery.buildFragment for tables, close gh-1138.
2013-01-20 18:30:56 -05:00
danilsomsikov
cc324abf73
Fix #8335 : Avoid memory leak by never setting data on non-element non-document nodes. Close gh-1127.
2013-01-16 14:31:29 -05:00
Richard Gibson
a96aa9e270
Fix #13233 : re-allow .replaceWith of text nodes. Close gh-1137.
...
(cherry picked from commit 6b1b0a26b4
)
2013-01-16 13:57:00 -05:00
Richard Gibson
306b698813
No ticket: improve replaceWith testing
...
(cherry picked from commit 13468abaeb
)
2013-01-16 12:31:23 -05:00
Mike Sherov
10cc33e27b
Fix #13183 : Wrong animation initial value calc. Ref gh-1136.
2013-01-15 23:34:22 -05:00
Richard Gibson
348e1a75c8
de486684
with moar guard for IE6
...
(cherry picked from commit 6c29dd24e9
)
2013-01-13 23:00:14 -05:00
Richard Gibson
31b9579715
Fix #13203 : delegated events with selector matching Object.prototype property
2013-01-13 21:40:24 -05:00
Richard Gibson
de486684e3
Fix f860e0bd
Firefox failures
...
(cherry picked from commit 0a3a424e65
)
2013-01-13 20:37:53 -05:00
Richard Gibson
b75b9ef8d0
Fix #13180 : don't delegate into SVG <use>
...
(cherry picked from commits 36457cb6afc12d4a755cf93442a502783a669517..f860e0bd2f7dd228a14704d78ed5208cbe870d01)
2013-01-13 20:00:03 -05:00
Oleg
8e6c1ba92f
Ref gh-1117: Don't stop on a falsy value in buildFragment. Close gh-1124.
2013-01-09 09:52:01 -05:00
nanto
2f6b3f818f
Propagate context of returned deferred object in Deferred.then(). Fixes #13160 .
2013-01-08 16:37:50 +01:00
jaubourg
18c376a5bd
Adjusts unit test regarding exception in injected scripts so that it accounts for the exception being thrown in an event loop for remote scripts
2013-01-08 14:04:00 +01:00
jaubourg
d4e666d475
strengthens and dries 304 unit tests
2013-01-08 11:07:18 +01:00
Corey Frang
ce426c5d69
Adding some more test coverage for .finish()
2013-01-08 03:33:27 -06:00
jaubourg
ed6209e8b2
Tweaks the logic in the 304-related unit tests so that they pass for versions of Opera that support manual 304 handling as well as for those that don't
2013-01-08 10:10:18 +01:00
Oleg
6d2ae92fe4
Change test description
2013-01-08 02:41:18 +00:00
Oleg
c9bf5c5e90
Bring back jQuery.buildFragment and remove jQuery.clean
2013-01-08 02:41:15 +00:00
Oleg
054daa20af
Ref #8908 . Update IE9 css clone fix. Close gh-1119.
2013-01-08 02:08:47 +00:00
Corey Frang
b6abb31df4
Fix #13103 . Add .finish() method. Close gh-1118.
2013-01-08 01:19:25 +00:00
jaubourg
62acda819f
Adds the abort on unload trick back in since IE9 still exhibits the bug
2013-01-07 10:34:14 -05:00
jaubourg
17049c73bc
2.0: reduced xhr transport
2013-01-07 10:34:07 -05:00
nanto_vi
e7fdda9819
Propagete context of returned deferred object in Deferred.then(). Fixes #13160
2013-01-07 02:49:15 +09:00
Dave Methvin
cef3450228
Remove noCloneEvent detects and white-box unit test.
2013-01-03 20:55:59 -05:00
Dave Methvin
11e6a66002
Remove deleteExpando detect.
2013-01-03 20:55:52 -05:00
Dave Methvin
aa529696fb
Remove inlineBlockNeedsLayout and shrinkWrapBlocks.
2013-01-03 20:52:38 -05:00
Dave Methvin
3d9edb32bc
Remove stranded support.js checks for oldIE.
2013-01-03 20:52:31 -05:00
Dave Methvin
445dbd9d95
Revert data.js rewrite.
...
Reverts the following commits:
commit f717226b3a
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Mon Dec 31 18:06:38 2012 -0500
Only splice from internal arrays when item actually exists.
commit b9cdc4136b
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Mon Dec 31 16:20:35 2012 -0500
Updates to data.js re-write to pass events and manipulation
commit d1de3000c6
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Mon Dec 31 15:09:45 2012 -0500
2.0: Rewrite data.js
2013-01-03 20:43:01 -05:00
Rick Waldron
d1de3000c6
2.0: Rewrite data.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 16:23:20 -05:00
Rick Waldron
747dd8c042
Remove invalid test "jQuery.getJSON() - Using Native JSON" from test/unit/ajax.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 13:31:03 -05:00
Rick Waldron
dc93f8cbb5
Merge branch '2.0-manipulation' of https://github.com/orkel/jquery
...
* '2.0-manipulation' of https://github.com/orkel/jquery : (51 commits)
Rename fixCloneNodeIssues helper to fixInput Move support comment
Add tests for th element
Add empty line
Add more tests for wrapMap
Add test for td append
wrapMap.col = wrapMap.tr
wrapMap.thead = wrapMap.tr Add support comments
Rewrite tests for colgroup, caption Add tests for thead, tbody, tfoot
Remove fix for #11280
Remove fieldset from wrapMap
Add comments for optgroup and option elements in wrapMap Add tests for optgroup element
Remove fix for #4484 , add more tests
Use tabs instead of spaces
Simplify getAll helper
Simplify check for non-Elements
Remove fix for object element
Save 43 bytes
Use common loop iteration idiom
Remove fix for #9587
Use correct comments
...
2012-12-31 13:26:28 -05:00
Rick Waldron
a205aac7f0
Merge branch '2.0-attributes-rebased'
...
* 2.0-attributes-rebased:
2.0: Remove getSetAttribute and getSetInput and oldIE attroperties hooks
Resolved conflict
2.0: Remove style->cssText attroproties fallback
Remove outdated support tests
2.0: Remove support.optSelected
2.0: Remove oldIE enctype propFix
2012-12-31 13:26:27 -05:00
Rick Waldron
5f5d2e55f7
Merge branch '2.0-traversing' of https://github.com/orkel/jquery
...
* '2.0-traversing' of https://github.com/orkel/jquery :
Code style
Reduce traversing module
2012-12-31 13:26:26 -05:00
Timmy Willison
d96fa37666
2.0: Remove style->cssText attroproties fallback
2012-12-31 13:21:47 -05:00
Timmy Willison
ccf7abafa6
Remove outdated support tests
2012-12-31 13:20:25 -05:00
Mike Sherov
abead1c86b
Fixes #13088 : under IE8, $(selector).attr('style') always return lowercase string
2012-12-31 12:30:02 -05:00
Oleg
72e9e91612
Add tests for th element
2012-12-28 20:27:59 +04:00
Oleg
4862eb43e3
Add more tests for wrapMap
2012-12-28 20:16:28 +04:00
Oleg
acb206a488
Add test for td append
2012-12-28 20:06:04 +04:00
Oleg
9dbfbe5b9a
wrapMap.thead = wrapMap.tr
...
Add support comments
2012-12-28 19:50:22 +04:00
Oleg
b3e546c4eb
Rewrite tests for colgroup, caption
...
Add tests for thead, tbody, tfoot
2012-12-28 19:43:01 +04:00
Oleg
d3d8ed443c
Add comments for optgroup and option elements in wrapMap
...
Add tests for optgroup element
2012-12-28 18:56:29 +04:00
Oleg
f193acf3a1
Remove fix for #4484 , add more tests
2012-12-28 18:54:47 +04:00
Oleg
f7528916a2
Use tabs instead of spaces
2012-12-24 04:47:13 +04:00
Oleg
2dd2e4886b
Use tabs instead of spaces
...
"$" => "jQuery"
2012-12-24 03:04:19 +04:00
Oleg
a3ddcc5fce
Add additional test
2012-12-24 03:04:19 +04:00
Oleg
32cfbd6d67
Add additional test
2012-12-24 03:04:18 +04:00
Sebi Burkhard
5eec75e582
Fix #13075 . Optimize $.type by preferring typeof
. Close gh-1089.
...
Also fixes browsers where `typeof RegExp === "function"`.
2012-12-23 15:41:56 -05:00
Dave Methvin
e29619031b
Know when to hold em, know when to fold em.
2012-12-22 16:55:10 -05:00
Oleg
efb139f7ad
Do not perform support check for old Opera. Close gh-1097.
2012-12-20 23:38:19 -05:00
Oleg
c8c6ab6924
Fix #12569 . Improve feature detect for event bubbling. Close gh-1076.
2012-12-20 22:08:32 -05:00
Oleg
5afc93c436
Fix #13094 . Pass index to .before(fn) fn as documented. Close gh-1093.
2012-12-20 20:55:30 -05:00
Oleg
65bdfbf07f
Reduce traversing module
2012-12-19 19:42:33 +04:00
Dave Methvin
c928ed432a
Remove .live() tests now in Migrate plugin.
2012-12-18 14:42:37 -05:00
Richard Gibson
06f46dad93
let .attr(checked|selected, true) update the property
2012-12-16 10:39:19 -05:00
Richard Gibson
30e2ffbeb8
Resolve a763ae72
test failures
2012-12-15 23:42:24 -05:00
Richard Gibson
a763ae7277
Fix #11115 : Normalize boolean attributes/properties. Close gh-1066.
2012-12-15 23:16:48 -05:00
Richard Gibson
2c40fdd4a8
Fix #12600 : don't use value property in place of value attribute. Close gh-1063.
2012-12-14 10:37:20 -05:00
Timmy Willison
7d61c5238e
Adjust html parsing in event tests to use jQuery.parseHTML explicitly.
2012-12-13 15:52:59 -05:00
timmywil
05531fc408
Adjust jQuery('html') detection to only match when html starts with '<' (not counting space characters). Fixes #11290 .
2012-12-13 15:31:02 -05:00
Oleg
643ecf9d63
Ref #8908 , gh-886. Avoid clone identity crisis in IE9/10. Close gh-1036.
2012-12-13 10:42:43 -05:00
Richard Gibson
ca26d45395
Fix #13044 : execute all QUnit modules in TestSwarm. Close gh-1074.
2012-12-13 10:13:50 -05:00
Oleg
13651f296d
Fix #9646 . Cloned nodes shouldn't affect original in IE7. Close gh-947.
2012-12-13 09:29:40 -05:00
Dave Methvin
0018f7700b
Fix #11230 . .appendTo and pals should always stack.
2012-12-13 09:19:41 -05:00
Dave Methvin
40e08f81bd
Missed a var declaration in aad235b325
.
2012-12-11 23:35:51 -05:00
Paul Ramos
f12611feb4
Fix #4087 . insertAfter, insertBefore, etc do not work if origin and destination are same element. Close gh-1068.
2012-12-11 23:35:22 -05:00
Dave Methvin
aad235b325
Fix #13011 . Let 'type' attribute be set if the browser allows.
2012-12-11 23:16:08 -05:00
Bennett Sorbo
32842ac365
Fix #12990 . Don't add 'px' to column-count. Close gh-1050.
2012-12-11 22:38:37 -05:00
Oleg
93e18922c5
Fix #12956 . Improve cloneFixAttributes for IE9/10 case. Close gh-1034.
...
Remove clear(merge)Attributes hack
2012-12-11 22:06:26 -05:00
Richard Gibson
f42e1e654f
Fix IE failures from 55313d32
2012-12-11 16:12:23 -05:00
Mike Sherov
ef6d8779de
Fixes #11938 : Adding array getter method to jQuery.fn.css
2012-12-11 13:58:14 -05:00
Timo Tijhof
55313d32a2
Test: Update index.html to new QUnit format. Close gh-1061.
...
Depends on jquery/sizzle#177 , included with the Sizzle submodule in this commit.
2012-12-10 21:48:20 -05:00
Rick Waldron
3c7f2af81d
Be specific about Firefox nodes-as-nodelist. Never assume that modern browsers will "get it right".
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-10 20:19:26 -05:00
Rick Waldron
07a7b3e4cf
Fixes #13021 . Normalization of core utility array like detection based on standard protocol by Richard Gibson <richard.gibson@gmail.com>. Closes gh-1064
2012-12-10 13:52:02 -05:00
Dave Methvin
f8f52cfcf4
Fix #13019 . Disconnected nodes with .replaceWith are a noop. Close gh-1062.
2012-12-09 14:10:38 -05:00
Richard Gibson
d343e6b9ed
Fix #12904 : Firefox defaultDisplay with body/iframe display:none. Report and solution by @maranomynet; test by @rwldrn.
2012-12-08 18:04:13 -05:00
jaubourg
23d7cf0488
Deferred: .resolve(), .reject() and .notify() now set the callback context to the promise instance rather than the deferred instance ; .then() has also been amended. Fixes #11405 .
2012-12-07 15:14:12 +01:00
Richard Gibson
747600b157
Don't test what ain't there no more
2012-12-06 17:01:36 -05:00
jaubourg
b7ece8c620
Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore."
...
This reverts commit 228ab3ddae
.
2012-12-05 14:54:14 +01:00
jaubourg
7f7007dffe
Revert "228ab3d followup 1: fix test failures. Close gh-1056."
...
This reverts commit 20608b3579
.
2012-12-05 14:54:00 +01:00
Richard Gibson
20608b3579
228ab3d
followup 1: fix test failures. Close gh-1056.
2012-12-05 02:12:32 -05:00
Dave Methvin
4437002771
Radical idea: Calculate expect()
value before fn call. 💜
2012-12-04 22:14:08 -05:00