Skip to content

Commit

Permalink
Amends #10324. Remove object markup fixture; create programmatically
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron authored and dmethvin committed Apr 11, 2012
1 parent 0f827c8 commit 5181ce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/index.html
Expand Up @@ -135,7 +135,6 @@ <h2 id="qunit-userAgent"></h2>
<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>
Expand Down
4 changes: 2 additions & 2 deletions test/unit/manipulation.js
Expand Up @@ -563,15 +563,15 @@ 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()");
});

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" );
Expand Down

0 comments on commit 5181ce0

Please sign in to comment.