Skip to content

Commit

Permalink
Sizzle: fix issue with adjusting the context on relative combinators …
Browse files Browse the repository at this point in the history
…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.
2 changes: 1 addition & 1 deletion src/sizzle
Submodule sizzle updated 2 files
+9 −16 sizzle.js
+9 −4 test/unit/selector.js
2 changes: 1 addition & 1 deletion test/unit/event.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d8aa8e7

Please sign in to comment.