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

This commit is contained in:
Timmy Willison 2012-07-23 14:51:55 -04:00
parent 09fc2c50cb
commit d8aa8e71b0
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 6e524a5915a8a5dda1969898749c81d0fae64e6e
Subproject commit deb73a18e2e80d8e1a482f1d557b5e8eab545213

View File

@ -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() {