Commit d8aa8e71 authored by Timmy Willison's avatar Timmy Willison

Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA

parent 09fc2c50
Subproject commit 6e524a5915a8a5dda1969898749c81d0fae64e6e Subproject commit deb73a18e2e80d8e1a482f1d557b5e8eab545213
...@@ -2344,7 +2344,7 @@ test("jQuery.off using dispatched jQuery.Event", function() { ...@@ -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() {
......
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