mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 19:48:06 -05:00
Amends #10324. Remove object markup fixture; create programmatically
This commit is contained in:
committed by
Dave Methvin
parent
0f827c800b
commit
5181ce0f35
@@ -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>
|
||||
|
||||
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user