aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/manipulation.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow more cases to use `innerHTML` in the `.html` method.Dave Methvin2011-09-211-1/+9
|\ | | | | | | Thanks @cmcnulty for the pull and the patience!
| * move embed tests to area where objects tests are already happeningcmcnulty2011-03-091-15/+11
| |
| * Forgot to update the test countscmcnulty2011-02-251-2/+2
| |
| * (no commit message)cmcnulty2011-02-251-0/+13
| |
* | Remove stop argument in manipulation test, which no longer sets a timeouttimmywil2011-09-201-4/+3
| |
* | Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. ↵Rick Waldron2011-09-191-0/+32
| | | | | | | | | | | | | | | | Fixes #6485. More Details: - https://github.com/jquery/jquery/pull/490 - http://bugs.jquery.com/ticket/6485
* | jQuery.clone() check that destination child nodes are not null. Fixes #9587rwldrn2011-06-151-0/+11
| |
* | Add test for appending an xml element to another. Supplements #9370.timmywil2011-05-251-0/+34
| |
* | Landing pull request 365. jQuery.buildFragment, ensure doc is a document; ↵Rick Waldron2011-05-131-1/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | Fixes #8950. More Details: - https://github.com/jquery/jquery/pull/365 - http://bugs.jquery.com/ticket/8950
| * | jQuery.buildFragment, ensure doc is a document; Includes comments; Adds unit ↵Rick Waldron2011-04-301-1/+10
| | | | | | | | | | | | test. Fixes #8950
* | | Adding in test case to support #9211.John Resig2011-05-111-1/+8
| | |
* | | Fixes #9221. Wraps openings of html comments and CDATA blocks found at the ↵jaubourg2011-05-111-1/+19
| | | | | | | | | | | | beginning of inserted script elements into a javascript block comment so that the new implementation of globalEval will not throw an exception in IE (execScript being less lenient than eval). Unit tests added.
* | | Fix problem with appending multiple string arguments in IE 6. Fixes #9072.John Resig2011-05-031-1/+12
|/ /
* | Landing pull request 332. Appending disconnected radio or checkbox inputs ↵timmywil2011-04-211-1/+15
| | | | | | | | | | | | | | | | | | and keeping checked setting Fixes #8060, #8500. More Details: - https://github.com/jquery/jquery/pull/332 - http://bugs.jquery.com/ticket/8060 - http://bugs.jquery.com/ticket/8500
* | Switch QUnit div from depreceted #main to #qunit-fixturetimmywil2011-04-171-35/+35
| |
* | Merge branch 'master' of https://github.com/rjgotten/jquery into ↵John Resig2011-04-121-2/+8
|\ \ | | | | | | | | | | | | | | | | | | rjgotten-master. Also added in unit tests covering the case. Fixes #6180. Conflicts: src/manipulation.js
* | | third batchlouisremi2011-04-121-239/+239
| | |
* | | Make the new attr/prop changes pass the test suite (in Webkit). There are ↵timmywil2011-04-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still errors in IE. + Added hooks for selected, checked, readonly, disabled to removeAttr if set to falsey + Removed all attrs from attrFix, these aren't needed for setAttribute + If prop is used for class, do we want a propFix for class? - We could just assume the user should know to use className with prop. I've done the latter for now. + Created tests for $.fn.prop and $.fn.removeProp - Actually all I did was change broken attr tests to prop where it made sense.
* | | bug 6158; fixing replaceWith from throwing errors on non existant elements; ↵Jordan Boesch2011-03-051-2/+2
| | | | | | | | | | | | fixing semicolon
* | | bug 6158; fixing replaceWith from throwing errors on non existant elementsJordan Boesch2011-03-051-2/+5
| |/ |/|
* | Make a new jQuery.support.noCloneChecked - splitting apart the previous ↵jeresig2011-02-231-3/+4
| | | | | | | | feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365.
* | Fixes #8129. Fix cloning multiple selected options in IE8.rwldrn2011-02-021-1/+9
| |
* | The default for .clone() is to not clone any events. Fixes #8123.jeresig2011-02-011-0/+11
| |
* | Use the original element/fragment as the last item to be appended to the ↵Colin Snover2011-01-281-0/+13
| | | | | | | | document instead of the first in order to prevent missing elements when appending to multiple elements. Fixes #8070.
* | Merge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lintrwldrn2011-01-221-1/+1
| |
* | Basic unit tests; This patch relies on the 51 existing clone() testsrwldrn2011-01-211-0/+12
| |
* | Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵Colin Snover2011-01-171-13/+50
|\ \ | | | | | | | | | checks for leaky stuff.
| * | Update unit tests with a leak detection mechanism for the various jQuery ↵Colin Snover2011-01-091-13/+50
| | | | | | | | | | | | globals and fix all leaks in the tests.
* | | Ensure that buildFragment clones elements properly in all browsers. Fixes ↵Colin Snover2011-01-091-9/+23
|/ / | | | | | | #3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE.
* | Don't cache non-html strings in buildFragment to avoid possible collision ↵Dave Methvin2010-12-271-0/+17
| | | | | | | | with the names of Object methods like toString. Also makes the unit tests 0.5% to 8% faster. Fixes #6779.
* | Don't use for-in loops on Arrays. Fixes #7817. Thanks to dmethvin.Colin Snover2010-12-221-0/+3
|\ \ | | | | | | | | | | | | Conflicts: src/manipulation.js
| * | Use a for loop rather than for/in loop when copying events, so that code ↵Dave Methvin2010-12-201-0/+3
| | | | | | | | | | | | will work with an augmented Array.prototype. Fixes 7809.
* | | Remove code for ticket #7717 which has been marked WONTFIX to match existing ↵Colin Snover2010-12-221-8/+4
| | | | | | | | | | | | $.data functionality and to prevent infinite loops caused by circular references.
* | | Fix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing ↵Colin Snover2010-12-191-6/+22
|/ / | | | | | | these issues.
* | Speed up & compatibility improvements for new clone mechanism in IE.Colin Snover2010-12-121-1/+9
| |
* | Return test comments to ASCII spaceColin Snover2010-12-121-2/+2
| |
* | Merge branch 'bug5566' into csnover-bug5566. Fixes #4386, #5566, #6997.Colin Snover2010-12-121-62/+108
|\ \ | | | | | | | | | | | | | | | Conflicts: src/manipulation.js test/unit/manipulation.js
| * | Fix the clone method to be a little less insane in IE, which fixes the new ↵Colin Snover2010-12-121-8/+34
| | | | | | | | | | | | event-cloning clone() as well as probably a bunch of IE-related clone bugs.
* | | Backing out cec68e2b00d86357c18b576cbaed52cc1ea42a74, was causing serialize ↵jeresig2010-12-091-76/+56
| | | | | | | | | | | | tests to fail. Un-fixes #5566.
* | | Merge branch 'bug5566' of https://github.com/csnover/jquery into csnover-bug5566jeresig2010-12-091-56/+76
|\| |
| * | Clone fragments in domManip using jQuery.clone instead of ↵Colin Snover2010-12-061-56/+76
| |/ | | | | | | DocumentFragment.cloneNode in order to carry over event data. Fixes #5566, #6997.
* / Make sure IE clones body elements correctly. Fixes 4386.Anton M2010-11-211-1/+3
|/
* Added some more tests to make sure that replaceWith is working correctly. ↵jeresig2010-10-091-2/+13
| | | | Follow-up to the comment on 2a6de9ab66653e5e424d9cc79d195b555158d04f.
* Make sure that the contents of the element is still in place when ↵John Resig2010-09-281-0/+11
| | | | html(Function) is called. Fixes #6733.
* Adjust manipulation test to handle whitespace RegExp issue in older WebKits. ↵jeresig2010-09-271-1/+1
| | | | Fixes #7082.
* Handle two more cases where comments were missing in the test case, in ↵John Resig2010-08-271-1/+7
| | | | Blackberry 4.6.
* Blackberry 4.6 doesn't maintain comment nodes in the DOM, ignore them in our ↵John Resig2010-08-261-2/+6
| | | | test cases.
* Fixed mistake with tweaked iframe manipulation test.John Resig2010-08-261-1/+1
|
* Tweak some more jQuery set results in the manipulation tests. Also fixed the ↵John Resig2010-08-261-40/+40
| | | | order of the expected test results.
* Tweak more element orders in the manipulation tests. Also differentiate ↵John Resig2010-08-261-8/+10
| | | | between iframe test failing and the inability to access iframe internals (as in the case of Blackberry).