Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
d8aa8e71
Commit
d8aa8e71
authored
Jul 23, 2012
by
Timmy Willison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA
parent
09fc2c50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sizzle
src/sizzle
+1
-1
event.js
test/unit/event.js
+1
-1
No files found.
sizzle
@
deb73a18
Subproject commit
6e524a5915a8a5dda1969898749c81d0fae64e6e
Subproject commit
deb73a18e2e80d8e1a482f1d557b5e8eab545213
test/unit/event.js
View file @
d8aa8e71
...
@@ -2344,7 +2344,7 @@ test("jQuery.off using dispatched jQuery.Event", function() {
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment