Commit d67c2fd8 authored by Richard Gibson's avatar Richard Gibson Committed by Rick Waldron

Wontfix #10791: please use "[class=foo]" with SVG elements

parent faf2eb4a
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment