Dave Methvin
d638aa9c6d
Allow more cases to use innerHTML
in the .html
method.
...
Thanks @cmcnulty for the pull and the patience!
2011-09-21 23:05:26 -04:00
timmywil
b03648c2a3
Remove stop argument in manipulation test, which no longer sets a timeout
2011-09-20 09:58:20 -04:00
Rick Waldron
9ecdb2472b
Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. Fixes #6485 .
...
More Details:
- https://github.com/jquery/jquery/pull/490
- http://bugs.jquery.com/ticket/6485
2011-09-19 16:42:36 -04:00
rwldrn
5c3b9e0c24
jQuery.clone() check that destination child nodes are not null. Fixes #9587
2011-06-15 11:14:52 -04:00
timmywil
9d4033d629
Add test for appending an xml element to another. Supplements #9370 .
2011-05-25 20:48:59 -04:00
Rick Waldron
ec829431fe
Landing pull request 365. jQuery.buildFragment, ensure doc is a document; Fixes #8950 .
...
More Details:
- https://github.com/jquery/jquery/pull/365
- http://bugs.jquery.com/ticket/8950
2011-05-13 12:26:17 -04:00
John Resig
f794f48f02
Adding in test case to support #9211 .
2011-05-11 11:43:37 -04:00
jaubourg
391398cf23
Fixes #9221 . Wraps openings of html comments and CDATA blocks found at the 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.
2011-05-11 14:13:07 +02:00
John Resig
bfad45fe45
Fix problem with appending multiple string arguments in IE 6. Fixes #9072 .
2011-05-03 15:02:26 -04:00
Rick Waldron
0c2d1aee54
jQuery.buildFragment, ensure doc is a document; Includes comments; Adds unit test. Fixes #8950
2011-04-30 10:42:36 -04:00
timmywil
d274b7b9f7
Landing pull request 332. Appending disconnected radio or checkbox inputs 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
2011-04-21 21:51:23 -04:00
timmywil
ecf6a3c383
Switch QUnit div from depreceted #main to #qunit-fixture
2011-04-17 02:43:57 -04:00
John Resig
3418f32387
Merge branch 'master' of https://github.com/rjgotten/jquery into rjgotten-master. Also added in unit tests covering the case. Fixes #6180 .
...
Conflicts:
src/manipulation.js
2011-04-12 16:39:30 -04:00
louisremi
f42010b657
third batch
2011-04-12 10:47:46 +02:00
timmywil
de79e8c7e0
Make the new attr/prop changes pass the test suite (in Webkit). There are 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.
2011-04-03 19:13:38 -04:00
cmcnulty
2746d7f299
move embed tests to area where objects tests are already happening
2011-03-09 12:44:46 -08:00
Jordan Boesch
dd100bf5ac
bug 6158; fixing replaceWith from throwing errors on non existant elements; fixing semicolon
2011-03-05 09:59:25 -06:00
Jordan Boesch
c9ef09c800
bug 6158; fixing replaceWith from throwing errors on non existant elements
2011-03-05 09:46:12 -06:00
cmcnulty
4aafe727da
Forgot to update the test counts
2011-02-25 12:26:04 -08:00
cmcnulty
8415e8a13d
2011-02-25 11:45:04 -08:00
jeresig
292acd97a2
Make a new jQuery.support.noCloneChecked - splitting apart the previous feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365 .
2011-02-23 13:18:44 -05:00
rwldrn
fa4c90987f
Fixes #8129 . Fix cloning multiple selected options in IE8.
2011-02-02 00:09:51 +01:00
jeresig
375b787838
The default for .clone() is to not clone any events. Fixes #8123 .
2011-02-01 08:57:18 -05:00
Colin Snover
0a0cff9d29
Use the original element/fragment as the last item to be appended to the document instead of the first in order to prevent missing elements when appending to multiple elements. Fixes #8070 .
2011-01-28 10:55:39 -06:00
rwldrn
f1bd0cfc4d
Merge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lint
2011-01-22 00:41:42 +01:00
rwldrn
33a67ffa9d
Basic unit tests; This patch relies on the 51 existing clone() tests
2011-01-21 11:08:15 -05:00
Colin Snover
e78d3a7e2d
Merge in data_nocollide branch. Fixes #6968 , improves unit testing framework checks for leaky stuff.
2011-01-17 15:31:43 -06:00
Colin Snover
b14f02899e
Ensure that buildFragment clones elements properly in all browsers. Fixes #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.
2011-01-09 18:38:44 -06:00
Colin Snover
e2941d5a98
Update unit tests with a leak detection mechanism for the various jQuery globals and fix all leaks in the tests.
2011-01-09 15:58:47 -06:00
Dave Methvin
5fd21fc02b
Don't cache non-html strings in buildFragment to avoid possible collision with the names of Object methods like toString. Also makes the unit tests 0.5% to 8% faster. Fixes #6779 .
2010-12-27 13:43:52 -06:00
Colin Snover
82ac384b49
Don't use for-in loops on Arrays. Fixes #7817 . Thanks to dmethvin.
...
Conflicts:
src/manipulation.js
2010-12-22 18:32:33 -06:00
Colin Snover
445fdf720c
Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.
2010-12-22 14:43:17 -06:00
Dave Methvin
4424bda377
Use a for loop rather than for/in loop when copying events, so that code will work with an augmented Array.prototype. Fixes 7809.
2010-12-20 22:23:59 -05:00
Colin Snover
faefbb1ad0
Fix #7717 and #7165 . Thanks to dmethvin and iliakan for their help fixing these issues.
2010-12-19 15:33:53 -06:00
Colin Snover
1a3fd3329d
Speed up & compatibility improvements for new clone mechanism in IE.
2010-12-12 19:23:22 -06:00
Colin Snover
8b33e23ea0
Return test comments to ASCII space
2010-12-12 13:37:00 -06:00
Colin Snover
4fae75d575
Merge branch 'bug5566' into csnover-bug5566. Fixes #4386 , #5566 , #6997 .
...
Conflicts:
src/manipulation.js
test/unit/manipulation.js
2010-12-12 02:39:06 -06:00
Colin Snover
7481a3645a
Fix the clone method to be a little less insane in IE, which fixes the new event-cloning clone() as well as probably a bunch of IE-related clone bugs.
2010-12-12 02:20:31 -06:00
jeresig
29616e60c8
Backing out cec68e2b00
, was causing serialize tests to fail. Un-fixes #5566 .
2010-12-09 13:27:52 -05:00
jeresig
cec68e2b00
Merge branch 'bug5566' of https://github.com/csnover/jquery into csnover-bug5566
2010-12-09 12:44:30 -05:00
Colin Snover
e4900df838
Clone fragments in domManip using jQuery.clone instead of DocumentFragment.cloneNode in order to carry over event data. Fixes #5566 , #6997 .
2010-12-06 19:37:16 -06:00
Anton M
ab2a70e6cf
Make sure IE clones body elements correctly. Fixes 4386.
2010-11-21 01:58:46 +01:00
jeresig
51283d9643
Added some more tests to make sure that replaceWith is working correctly. Follow-up to the comment on 2a6de9ab66
.
2010-10-09 11:41:58 -04:00
John Resig
0368606c08
Make sure that the contents of the element is still in place when html(Function) is called. Fixes #6733 .
2010-09-28 09:50:44 -07:00
jeresig
88fc523c59
Adjust manipulation test to handle whitespace RegExp issue in older WebKits. Fixes #7082 .
2010-09-27 10:28:35 -04:00
John Resig
43fbe3b33a
Handle two more cases where comments were missing in the test case, in Blackberry 4.6.
2010-08-27 14:16:27 -04:00
John Resig
9ce1d09a0a
Blackberry 4.6 doesn't maintain comment nodes in the DOM, ignore them in our test cases.
2010-08-26 15:36:44 -04:00
John Resig
1e9d6e1255
Fixed mistake with tweaked iframe manipulation test.
2010-08-26 15:26:30 -04:00
John Resig
c5382ad7c1
Tweak some more jQuery set results in the manipulation tests. Also fixed the order of the expected test results.
2010-08-26 15:21:01 -04:00
John Resig
c0fe98f028
Tweak more element orders in the manipulation tests. Also differentiate between iframe test failing and the inability to access iframe internals (as in the case of Blackberry).
2010-08-26 14:57:23 -04:00