mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA
This commit is contained in:
parent
09fc2c50cb
commit
d8aa8e71b0
@ -1 +1 @@
|
|||||||
Subproject commit 6e524a5915a8a5dda1969898749c81d0fae64e6e
|
Subproject commit deb73a18e2e80d8e1a482f1d557b5e8eab545213
|
@ -2344,7 +2344,7 @@ test("jQuery.off using dispatched jQuery.Event", function() {
|
|||||||
|
|
||||||
test( "delegated event with delegateTarget-relative selector", function() {
|
test( "delegated event with delegateTarget-relative selector", function() {
|
||||||
expect(2);
|
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
|
markup
|
||||||
.on( "click", ">li>a", function() {
|
.on( "click", ">li>a", function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user