Commit Graph

245 Commits

Author SHA1 Message Date
Richard Gibson
225bde37c9 Manipulation: Make an HTML interception point
Fixes gh-1747
Closes gh-2203
2015-04-30 13:15:33 -04:00
Richard Gibson
4b27ae16a2 Manipulation: Detect sneaky no-content replaceWith input
Fixes gh-2204
Ref 642e9a4557
Closes gh-1752
Closes gh-2206
2015-04-30 11:36:38 -04:00
Rick Waldron
332fd941b4 Data: restore explicit data removal of private data in cleanData.
Fixes gh-2127
Closes gh-2132
2015-03-09 13:51:16 -04:00
Rick Waldron
d702b7637a Data: move element cache to element[expando]
- avoid explicit data.discard() cleanup calls
- explicitly remove the data.events property, only when private data exists
- reduces code footprint

Fixes gh-1734
Close gh-1428
2015-03-04 17:26:47 -05:00
Oleg Gaidarenko
8b6aeae52d Build: fix broken assertions caused by QUnit update
QUnit update broke couple traversing and manipulation tests, since new qunit
added another form to the test-suite while some of
jQuery selectors weren't specific

Ref 2d5c5d213f
2015-02-15 02:22:09 +03:00
Oleg Gaidarenko
e984d1c79c Manipulation: don't auto-insert tbody
Fixes gh-1835
Closes gh-2021
2015-02-11 16:49:59 +03:00
Oleg Gaidarenko
0ea342a6a6 Manipulation: simplify html wrappers
Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element

Closes gh-2031
Fixes gh-2002
2015-02-10 23:44:01 +03:00
Oleg Gaidarenko
4fae91141c Manipulation: increase delay of data-URI test
For Safar7/Opera - shot in the dark, can't reproduce this locally

Fixes gh-1993
(cherry-picked from 30ace26c42)
2015-01-26 06:38:48 +03:00
Leonardo Braga
85ffc6d973 Manipulation: add support to tag-hyphenated elements
Fixes #1987
Closes gh-1988
2015-01-13 07:42:59 +03:00
Oleg Gaidarenko
dd596ccf72 Manipulation: improve test for data-URI
Some environments do not support data-uri in "src" attribute of script element.
Mitigate it with equality assertion

Ref a467f8653a
2014-12-08 09:26:15 +03:00
Bin Xin
15f4dec789 Manipulation: support data-URI scripts insertion
Fixes gh-1887
Closes gh-1888
2014-12-03 04:54:53 +03:00
Oleg Gaidarenko
bbdfbb4ee8 Ajax: Always use script injection in globalEval
Fixes #14757
Closes gh-1449
2014-06-16 03:08:46 +04:00
Michał Gołębiowski
787562247b Ajax, Manipulation: don't test cross-document manip in Android 2.3 2014-05-05 15:45:57 +02:00
Oleg Gaidarenko
f3b89ba082 Tests: Fix failing ajax tests in oldIE
(cherry-picked from the 7178096507)

Picked up so tests from the 1.x-master would be more similar to this branch
2014-04-15 17:46:00 +04:00
Rick Waldron
d792e40fbc Tests: remove all the empty line whitespace 2014-02-11 10:59:14 -08:00
Michał Gołębiowski
95b21c6ec2 Build: Upgrade QUnit to 1.14.0 2014-02-05 15:35:48 +01:00
cjqed
537e9ced61 Tests: Avoid use of QUnit.reset() in tests by splitting them
Fix #14040
Close gh-1457
2013-12-23 17:21:22 -05:00
Jakob Stoeck
ed291938c2 Add unit tests for .html( number ). Close gh-1447. 2013-11-26 10:13:15 -05:00
Michał Gołębiowski
4b39a82890 Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425. 2013-11-11 00:43:27 +01:00
Chris Antaki
fb2e0a0c28 Fix #11809: Update text without creating DOM nodes. Close gh-1412. 2013-11-05 17:13:49 -05:00
Oleg
642e9a4557 Simplify replaceWith method. Closes gh-1276 2013-09-17 13:24:27 +04:00
Michał Gołębiowski
bbbdd94725 Fix #10814. Make support tests lazy and broken out to components. 2013-09-06 03:38:22 +02:00
Oleg
3a6194076b Fix #13818: Add wrapMap entry for col element 2013-04-24 22:15:41 +04:00
Richard Gibson
d8f7e83712 Fix #13810: .replaceWith(nextSibling) 2013-04-22 21:08:38 -04:00
Richard Gibson
039371c741 Followup #13779: Backwards-compatible unit test
(cherry picked from commit 12a1017290)
2013-04-17 12:25:48 -04:00
Richard Gibson
03db1ada2c Fix #12838: hook point for non-jQuery.ajax synchronous script fetch/execute in domManip. Close gh-1051. 2013-04-17 11:27:57 -04:00
Rick Waldron
77d7f26452 Fixes #13779. Remove nodes in document order (uses for loop matching empty()). 2013-04-16 22:18:44 -04:00
Richard Gibson
db0326b1fd Fix #13596; #13722: .replaceWith consistency. Close gh-1216. 2013-04-16 17:47:21 -04:00
Timmy Willison
0fa52c11cb Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755. 2013-04-09 11:59:31 -04:00
Michał Gołębiowski
bea0d9a49d Separate test/unit/wrap.js; make tests not fail when wrap module excluded 2013-04-09 00:00:02 +02:00
Dave Methvin
1b61026650 Fix #13721. Filter before .remove() loop so positionals work. Close gh-1221. 2013-04-06 16:37:32 -04:00
Dave Methvin
5031c9db4b Fix #13741. Make wrap/unwrap methods optional. Close gh-1222. 2013-04-06 16:00:58 -04:00
Michał Gołębiowski
8ca9f931ec bind/unbind changed to on/off in unit tests; refs #13554 2013-03-25 22:06:49 -04:00
dmitrygusev
eee2eaf1d7 Fix typos. Close gh-1186. 2013-02-28 15:45:10 -05:00
Richard Gibson
59f5adb622 No ticket: Revise unit tests in anticipation of Sizzle-free builds 2013-02-22 20:13:36 -05:00
Mark Raddatz
6a0ee2d9ed Fix #13401: replaceWith(""). Close gh-1163. 2013-02-08 09:49:14 -05:00
Dave Methvin
6f7b6915bf Fix #12656. Make event shorthands excludable. 2013-01-27 09:07:00 -05:00
Oleg
19def21df4 Fix #13232, fix jQuery.buildFragment for tables, close gh-1138. 2013-01-20 18:30:56 -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
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
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
Oleg
c9bf5c5e90 Bring back jQuery.buildFragment and remove jQuery.clean 2013-01-08 02:41:15 +00:00
Dave Methvin
cef3450228 Remove noCloneEvent detects and white-box unit test. 2013-01-03 20:55:59 -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