<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>
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()");
});
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" );