diff options
author | Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com> | 2012-03-23 11:31:05 -0400 |
---|---|---|
committer | Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com> | 2012-03-23 11:31:05 -0400 |
commit | 379a1370164ff6b0fc57e3b10e1867ae867e2850 (patch) | |
tree | 92334788756e95292028d88cc7947ffe0087d78d | |
parent | c68f4fe548fee5c8bb7cdc7ca2a2315d0433b6f8 (diff) | |
download | jquery-379a1370164ff6b0fc57e3b10e1867ae867e2850.tar.gz jquery-379a1370164ff6b0fc57e3b10e1867ae867e2850.zip |
Failing test (http://gyazo.com/0a7285e1d10039bc8ec8bc340fac15a9.png)
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
-rw-r--r-- | test/unit/manipulation.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 18e1b8d67..b07423a3f 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -551,6 +551,15 @@ test("html(String) with HTML5 (Bug #6485)", function() { equal( jQuery("#qunit-fixture").children().children().children().length, 1, "Make sure nested HTML5 elements can hold children." ); }); +test("html() object element #10324", function() { + expect( 1 ); + + var object = jQuery("#object2"), + clone = object.clone(); + + equal( clone.html(), object.html(), "html() returns correct innerhtml of cloned object elements" ); +}); + test("append(xml)", function() { expect( 1 ); @@ -1751,4 +1760,4 @@ test("Guard against exceptions when clearing safeChildNodes", function() { } catch(e) {} ok( div && div.jquery, "Created nodes safely, guarded against exceptions on safeChildNodes[ -1 ]" ); -});
\ No newline at end of file +}); |