mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 04:47:55 -05:00
Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA
This commit is contained in:
Submodule src/sizzle updated: 6e524a5915...deb73a18e2
@@ -2344,7 +2344,7 @@ test("jQuery.off using dispatched jQuery.Event", function() {
|
||||
|
||||
test( "delegated event with delegateTarget-relative selector", function() {
|
||||
expect(2);
|
||||
var markup = jQuery( '<ul><li><a id="a0"></a><ul id="ul0"><li><a id="a0_0"></a></li><li><a id="a0_1"></a></li></ul></li></ul>' ).appendTo("body");
|
||||
var markup = jQuery("<ul><li><a id=\"a0\"></a><ul id=\"ul0\"><li><a id=\"a0_0\"></a></li><li><a id=\"a0_1\"></a></li></ul></li></ul>").appendTo("#qunit-fixture");
|
||||
|
||||
markup
|
||||
.on( "click", ">li>a", function() {
|
||||
|
||||
Reference in New Issue
Block a user