diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2015-05-19 13:12:11 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-05-19 13:47:11 +0300 |
commit | 57fb2dc02ec286c51b456f0e460ad258f332b6ac (patch) | |
tree | 7f3a47f2f0ee9cb99712da92d6cdfec086dd8895 /test | |
parent | 401a351bd25f396099f26d71ea610c30b2d498a8 (diff) | |
download | jquery-57fb2dc02ec286c51b456f0e460ad258f332b6ac.tar.gz jquery-57fb2dc02ec286c51b456f0e460ad258f332b6ac.zip |
Attributes: don't test SVG CSS-class manipulation in IE8
Ref 20aaed367f993f3c2aa204183d82d0d73efa114f
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/attributes.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 022d4a8b3..43ccaacdf 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -1478,6 +1478,18 @@ test( "Insignificant white space returned for $(option).val() (#14858)", functio }); test( "SVG class manipulation (gh-2199)", function() { + + // Support: IE8 + var svgSupport = !!document.createElementNS && + !!document.createElementNS( "http://www.w3.org/2000/svg", "svg" ).createSVGRect; + + if ( !svgSupport ) { + expect( 1 ); + ok( true, "Environment doesn't support SVG" ); + + return; + } + expect( 12 ); function createSVGElement( nodeName ) { |