aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-01-14 05:22:42 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-01-14 05:22:42 +0300
commit87bb713cc0e5b5aca86b6839894e9f3d8d635b36 (patch)
tree8c0c3376e8023c07a83009e84dc55a55484a7a4d /test
parent96447575c23f7b313091750ed84cec05db3a25c6 (diff)
downloadjquery-87bb713cc0e5b5aca86b6839894e9f3d8d635b36.tar.gz
jquery-87bb713cc0e5b5aca86b6839894e9f3d8d635b36.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/unit/manipulation.js7
1 files changed, 7 insertions, 0 deletions
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 ) {