Skip to content
Permalink
Browse files

Amends #10324. Remove object markup fixture; create programmatically

  • Loading branch information...
rwaldron authored and dmethvin committed Apr 11, 2012
1 parent 0f827c8 commit 5181ce0f35cf941ae2d7f5da2cf98ebcc638daff
Showing with 2 additions and 3 deletions.
  1. +0 −1 test/index.html
  2. +2 −2 test/unit/manipulation.js
@@ -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>
@@ -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" );

0 comments on commit 5181ce0

Please sign in to comment.
You can’t perform that action at this time.