Skip to content
Permalink
Browse files
Sizzle: fix issue with adjusting the context on relative combinators …
…in element-rooted qSA
  • Loading branch information
timmywil committed Jul 23, 2012
1 parent 09fc2c5 commit d8aa8e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Submodule sizzle updated 2 files
+9 −16 sizzle.js
+9 −4 test/unit/selector.js
@@ -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() {

0 comments on commit d8aa8e7

Please sign in to comment.