From 4cd57d727a075617c8db30dcf69542f66add63fe Mon Sep 17 00:00:00 2001 From: cmcnulty Date: Thu, 5 Apr 2012 12:12:38 -0400 Subject: Fix 11528. Exclude link/html5 tags from innerHTML path on oldIE. --- test/unit/manipulation.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/unit') diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index ff31c4db4..8b891f7b5 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -555,6 +555,19 @@ test("html(String) with HTML5 (Bug #6485)", function() { equal( jQuery("#qunit-fixture").children().children().children().length, 1, "Make sure nested HTML5 elements can hold children." ); }); + + +test("IE8 serialization bug", function () { + expect(2); + var wrapper = jQuery("
"); + + wrapper.html("
"); + equal( wrapper.children("article").length, 1, "HTML5 elements are insertable with .html()"); + + wrapper.html("
"); + equal( wrapper.children("link").length, 1, "Link elements are insertable with .html()"); +}); + test("append(xml)", function() { expect( 1 ); -- cgit v1.2.3