From: Richard Gibson Date: Wed, 11 Jul 2012 21:17:47 +0000 (-0400) Subject: Wontfix #10791: please use "[class=foo]" with SVG elements X-Git-Tag: 1.8rc1~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d67c2fd863216453ea4fc9b1a7cafd890506549e;p=jquery.git Wontfix #10791: please use "[class=foo]" with SVG elements --- diff --git a/test/unit/event.js b/test/unit/event.js index 6d3603672..6b3dceada 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -1287,10 +1287,10 @@ test("Delegated events in SVG (#10791)", function() { .on( "click", "#svg-by-id", function() { ok( true, "delegated id selector" ); }) - .on( "click", ".svg-by-class", function() { + .on( "click", "[class='svg-by-class']", function() { ok( true, "delegated class selector" ); }) - .find( "#svg-by-id, .svg-by-class" ) + .find( "#svg-by-id, [class='svg-by-class']" ) .trigger( "click" ) .end() .off( "click" );