aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/manipulation.js
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Tweaked manipulation test to ignore order of elements from selector (not ↵John Resig2010-08-261-1/+1
| | | | important to the test).
* Replace usage of the removed global reset() method with QUnit.reset().jzaefferer2010-07-281-74/+74
|
* I take that back! It was a bug, but the cache had to be triggered and a ↵jeresig2010-03-051-5/+6
| | | | collection of cached nodes had to be passed in (an odd case to be sure). Fixes #6227.
* Attempted to fix #6227, not entirely sure if it's a problem as I'm having a ↵jeresig2010-03-051-1/+9
| | | | hard time reproducing it. Regardless, the change is harmless and potentially even speeds up appendTo, etc. slightly.
* Adapt the nbsp entity test for Opera (output isn't as important as the fact ↵jeresig2010-02-131-1/+2
| | | | that it's getting converted.
* Don't inject style elements using innerHTML as they will go away in IE. ↵jeresig2010-02-131-1/+6
| | | | Fixes #5977.
* Added some tests to test repeated injected of scripts. Was fixed when fixing ↵jeresig2010-02-131-5/+4
| | | | #5094.
* Make sure that we don't try to use a detached node (that was in a fragment) ↵jeresig2010-02-131-1/+11
| | | | as a fragment in IE. Fixes #5829.
* Make sure the fragment isn't used if it's not the same set we're working ↵jeresig2010-02-131-1/+6
| | | | with. Fixes #6068.
* Make sure that &#...; entities are encoded properly. Fixes #6042.jeresig2010-02-051-1/+4
|
* Adding in some more replaceWith tests for #5917.Neeraj Singh2010-02-011-1/+11
|
* Only detach the incoming elements to replaceWith if they're DOM nodes. Fixes ↵Noah Sloan2010-02-011-2/+8
| | | | #5986.
* Fix for problem in IE 8 where deserialized (then reserialized) form markup ↵jeresig2010-02-011-1/+9
| | | | was getting malformed. Thanks IE. Fixes #5998.
* Make sure that the correct context is being passed in for replaceWith(fn). ↵jeresig2010-01-251-0/+10
| | | | Fixes #5798.
* Make work wrapInner(fn) work consistently. Fixes #5799.jeresig2010-01-251-8/+14
|
* Make sure that checked state is cloned properly. Based upon the patch by ↵Michael Monteleone2010-01-251-1/+19
| | | | Michael, required better test cases and in doing so found more edge cases. Introduced a new check into jQuery.support as a result. Fixes #5929.
* Cleaned up divs that should've been removed after a test run.jeresig2010-01-251-1/+7
|
* Make sure that XHTML-style HTML is purified in .html(). Fixes #5845.John Resig2010-01-241-2/+7
|
* Expose cleanData, make sure that all bound event handlers are properly ↵jeresig2010-01-231-0/+70
| | | | cleaned up after html/empty/remove. Fixes #5856 and #5906.
* wrapAll(Function) doesn't actually make sense. That's why I couldn't figure ↵Yehuda Katz2010-01-141-5/+0
| | | | out how to test it!
* We only care that some of the html return value is escaped, not necessarily ↵jeresig2010-01-131-8/+8
| | | | all of it (as is the case in Safari 3.x).
* Some more touching up of the replaceWith tests.jeresig2010-01-111-4/+12
|
* Did some reorganizing of the recently added replaceWith tests.jeresig2010-01-111-3/+2
|
* Make sure that wrapInner works on elements that have no contents. Fixes #3552.jeresig2010-01-111-1/+6
|
* Final pass at fixing #5785. Need to make sure that inner-nodes are detached ↵jeresig2010-01-111-3/+13
| | | | before the remove() occurs (and it should still occur, the nodes are being obliterated.
* Made some additional tests for #5785.jeresig2010-01-111-1/+5
|
* Make sure we use detach instead of remove in replaceWith. Fixes #5785.jeresig2010-01-111-1/+10
|
* Added manipulation tests for setter function args.jeresig2010-01-071-3/+175
|
* Added some .text(Function) tests.jeresig2010-01-071-26/+37
|
* Moved the val() tests from manipulation into attributes.jeresig2010-01-071-86/+0
|
* Make sure that the correct value is being pulled from checkboxes in Webkit. ↵jeresig2009-12-221-2/+8
| | | | Fixes #5699.
* Made sure that the .val() logic for setting radios and checkboxes was ↵jeresig2009-12-221-1/+17
| | | | correct. Fixes #5698.
* Fixed the issue where getting an empty value was impossible. Fixes #5697.jeresig2009-12-221-1/+6
|
* Fix up whitespace and a couple of glitches.Yehuda Katz2009-12-091-6/+6
|
* Add function values to addClass, removeClass, toggleClass, text, and removeAttrYehuda Katz2009-12-091-3/+4
|
* Made .clone(true) also copy over element data. Fixes #4191.John Resig2009-12-091-1/+6
|
* Make sure that events are cloned for wrap, fixes #2977.John Resig2009-12-081-1/+15
|
* Added in support for injecting area elements into map elements. Fixes #4484.John Resig2009-12-061-1/+5
|
* Fix for #4011, crash when two text nodes are appended in IE.Dave Methvin2009-12-061-1/+3
|
* Make sure that the previous element is removed from the page before the next ↵jeresig2009-12-051-1/+8
| | | | is inserted, in replaceWith. Using a variation of the patch by snaury. Fixes #2697.
* Removed debug statements from manipulation tests, was causing errors in IE.jeresig2009-12-021-4/+0
|
* Adding a test that a new option can be selected with val(N)Yehuda Katz2009-12-011-1/+5
|