diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2012-07-23 14:51:55 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2012-07-23 14:51:55 -0400 |
commit | d8aa8e71b0e015a2bcdd33a66f18892e0129b704 (patch) | |
tree | 26a98550aae7c4f308c9f42018bdc2e30a6bc25a | |
parent | 09fc2c50cb64d01299d5f04bd1920dcec91955be (diff) | |
download | jquery-d8aa8e71b0e015a2bcdd33a66f18892e0129b704.tar.gz jquery-d8aa8e71b0e015a2bcdd33a66f18892e0129b704.zip |
Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA
m--------- | src/sizzle | 0 | ||||
-rw-r--r-- | test/unit/event.js | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/sizzle b/src/sizzle -Subproject 6e524a5915a8a5dda1969898749c81d0fae64e6 +Subproject deb73a18e2e80d8e1a482f1d557b5e8eab54521 diff --git a/test/unit/event.js b/test/unit/event.js index dacb03355..ecaddf3a4 100644 --- a/test/unit/event.js +++ b/test/unit/event.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() { |