From 379a1370164ff6b0fc57e3b10e1867ae867e2850 Mon Sep 17 00:00:00 2001 From: "Rick Waldron waldron.rick@gmail.com" Date: Fri, 23 Mar 2012 11:31:05 -0400 Subject: [PATCH] Failing test (http://gyazo.com/0a7285e1d10039bc8ec8bc340fac15a9.png) Signed-off-by: Rick Waldron waldron.rick@gmail.com --- test/unit/manipulation.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 +});