From 87bb713cc0e5b5aca86b6839894e9f3d8d635b36 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Wed, 14 Jan 2015 05:22:42 +0300 Subject: [PATCH] Manipulation: blacklist IE8 from running tests for tag-hyphenated elems IE8 supports only HTML elements it knows about, but if user uses custom elements a.k.a. tag-hyphenated, we assume it doesn't try to use them with IE8 Ref 5d522f5c740f1f919a630a5f6ec3d40fad840ff7 --- test/unit/manipulation.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 2f63f047c..68e97d76e 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -529,6 +529,13 @@ test( "html(String) with HTML5 (Bug #6485)", function() { test( "html(String) tag-hyphenated elements (Bug #1987)", function() { + // Support: IE8 + if ( /msie 8\.0/i.test( navigator.userAgent ) ) { + expect( 1 ); + ok( true, "IE8 doesn't support custom elements" ); + return; + } + expect( 27 ); jQuery.each( "thead tbody tfoot colgroup caption tr th td".split(" "), function( i, name ) { -- 2.39.5