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 d8aa8e71b0e015a2bcdd33a66f18892e0129b704
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/sizzle
  2. +1 −1 test/unit/event.js
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.
You can’t perform that action at this time.