Commit 5181ce0f authored by Rick Waldron's avatar Rick Waldron Committed by Dave Methvin

Amends #10324. Remove object markup fixture; create programmatically

parent 0f827c80
...@@ -135,7 +135,6 @@ ...@@ -135,7 +135,6 @@
<param name="p1" value="x1" /> <param name="p1" value="x1" />
<param name="p2" value="x2" /> <param name="p2" value="x2" />
</object> </object>
<object id="object2"><param name="object2test" value="test"></param></object>​
<span id="台北Táiběi"></span> <span id="台北Táiběi"></span>
<span id="台北" lang="中文"></span> <span id="台北" lang="中文"></span>
......
...@@ -563,7 +563,7 @@ test("IE8 serialization bug", function () { ...@@ -563,7 +563,7 @@ test("IE8 serialization bug", function () {
wrapper.html("<div></div><article></article>"); wrapper.html("<div></div><article></article>");
equal( wrapper.children("article").length, 1, "HTML5 elements are insertable with .html()"); equal( wrapper.children("article").length, 1, "HTML5 elements are insertable with .html()");
wrapper.html("<div></div><link></link>"); wrapper.html("<div></div><link></link>");
equal( wrapper.children("link").length, 1, "Link elements are insertable with .html()"); equal( wrapper.children("link").length, 1, "Link elements are insertable with .html()");
}); });
...@@ -571,7 +571,7 @@ test("IE8 serialization bug", function () { ...@@ -571,7 +571,7 @@ test("IE8 serialization bug", function () {
test("html() object element #10324", function() { test("html() object element #10324", function() {
expect( 1 ); 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(); clone = object.clone();
equal( clone.html(), object.html(), "html() returns correct innerhtml of cloned object elements" ); equal( clone.html(), object.html(), "html() returns correct innerhtml of cloned object elements" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment