Amends #10324. Remove object markup fixture; create programmatically

This commit is contained in:
Rick Waldron
2012-04-11 12:00:42 -04:00
committed by Dave Methvin
parent 0f827c800b
commit 5181ce0f35
2 changed files with 2 additions and 3 deletions

View File

@@ -135,7 +135,6 @@
<param name="p1" value="x1" />
<param name="p2" value="x2" />
</object>
<object id="object2"><param name="object2test" value="test"></param></object>
<span id="台北Táiběi"></span>
<span id="台北" lang="中文"></span>

View File

@@ -563,7 +563,7 @@ test("IE8 serialization bug", function () {
wrapper.html("<div></div><article></article>");
equal( wrapper.children("article").length, 1, "HTML5 elements are insertable with .html()");
wrapper.html("<div></div><link></link>");
equal( wrapper.children("link").length, 1, "Link elements are insertable with .html()");
});
@@ -571,7 +571,7 @@ test("IE8 serialization bug", function () {
test("html() object element #10324", function() {
expect( 1 );
var object = jQuery("#object2"),
var object = jQuery("<object id='object2'><param name='object2test' value='test'></param></object>").appendTo("#qunit-fixture"),
clone = object.clone();
equal( clone.html(), object.html(), "html() returns correct innerhtml of cloned object elements" );