mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 18:35:03 -05:00
Attributes: don't test SVG CSS-class manipulation in IE8
Ref 20aaed367f
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user