diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2012-07-25 14:38:55 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-07-25 14:38:55 -0400 |
commit | de213be3728a339e1f2b98712a0869f8afb9da67 (patch) | |
tree | 45bba39c7b69578aa24f93a2743c43762bc7d444 /test/unit | |
parent | bc07ae8c1dbe9af4cceee3f118ae8071a3a8afb2 (diff) | |
download | jquery-de213be3728a339e1f2b98712a0869f8afb9da67.tar.gz jquery-de213be3728a339e1f2b98712a0869f8afb9da67.zip |
Revert "Fix #12127. IE9/10 checks fall off the box on clone. Close gh-873."
This reverts commit 569d064fc93459695cb6eb6fd09e5ba3fda62f03.
Causing test fails in Safari, IE6, and IE7.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/manipulation.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index e2b00a662..31426e739 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -1895,14 +1895,3 @@ test("html() - script exceptions bubble (#11743)", function() { ok( false, "error ignored" ); }, "exception bubbled from remote script" ); }); - -test("checked state is cloned with clone()", function(){ - expect(2); - - var elem = jQuery.parseHTML('<input type="checkbox" checked="checked"/>')[0]; - elem.checked = false; - equal( jQuery(elem).clone().attr('id','clone')[0].checked, false, 'Checked false state correctly cloned' ); - elem = jQuery.parseHTML('<input type="checkbox"/>')[0]; - elem.checked = true; - equal( jQuery(elem).clone().attr('id','clone')[0].checked, true, 'Checked true state correctly cloned' ); -}); |