Commit 60e24943 authored by Richard Gibson's avatar Richard Gibson Committed by Dave Methvin

Followup on #10791: "[class~=foo]" is better. Closes gh-858.

parent db4d122f
......@@ -1287,10 +1287,10 @@ test("Delegated events in SVG (#10791)", function() {
.on( "click", "#svg-by-id", function() {
ok( true, "delegated id selector" );
})
.on( "click", "[class='svg-by-class']", function() {
.on( "click", "[class~='svg-by-class']", function() {
ok( true, "delegated class selector" );
})
.find( "#svg-by-id, [class='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