aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2012-07-11 17:17:47 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-07-11 17:17:47 -0400
commitd67c2fd863216453ea4fc9b1a7cafd890506549e (patch)
tree9b0f1540b9df41a30d6fc7a45a477e1059990cd0
parentfaf2eb4a8f9ff26f43773128ed2be8283314b3b6 (diff)
downloadjquery-d67c2fd863216453ea4fc9b1a7cafd890506549e.tar.gz
jquery-d67c2fd863216453ea4fc9b1a7cafd890506549e.zip
Wontfix #10791: please use "[class=foo]" with SVG elements
-rw-r--r--test/unit/event.js4
1 files changed, 2 insertions, 2 deletions
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" );