mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Wontfix #10791: please use "[class=foo]" with SVG elements
This commit is contained in:
committed by
Rick Waldron
parent
faf2eb4a8f
commit
d67c2fd863
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user