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
b996026e
Commit
b996026e
authored
Sep 29, 2009
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapted the jQuery test suite to handle the toolbar moving inline.
parent
b0306cc3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
index.html
test/index.html
+1
-0
selector.js
test/unit/selector.js
+1
-1
No files found.
test/index.html
View file @
b996026e
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
<body
id=
"body"
>
<body
id=
"body"
>
<h1
id=
"header"
>
jQuery Test Suite
</h1>
<h1
id=
"header"
>
jQuery Test Suite
</h1>
<h2
id=
"qunit-banner"
></h2>
<h2
id=
"qunit-banner"
></h2>
<div
id=
"qunit-testrunner-toolbar"
></div>
<h2
id=
"qunit-userAgent"
></h2>
<h2
id=
"qunit-userAgent"
></h2>
<!-- Test HTML -->
<!-- Test HTML -->
...
...
test/unit/selector.js
View file @
b996026e
...
@@ -361,7 +361,7 @@ test("pseudo (:) selectors", function() {
...
@@ -361,7 +361,7 @@ test("pseudo (:) selectors", function() {
t
(
"Position Less Than"
,
"p:lt(3)"
,
[
"firstp"
,
"ap"
,
"sndp"
]
);
t
(
"Position Less Than"
,
"p:lt(3)"
,
[
"firstp"
,
"ap"
,
"sndp"
]
);
t
(
"Is A Parent"
,
"p:parent"
,
[
"firstp"
,
"ap"
,
"sndp"
,
"en"
,
"sap"
,
"first"
]
);
t
(
"Is A Parent"
,
"p:parent"
,
[
"firstp"
,
"ap"
,
"sndp"
,
"en"
,
"sap"
,
"first"
]
);
t
(
"Is Visible"
,
"#form input:visible"
,
[]
);
t
(
"Is Visible"
,
"#form input:visible"
,
[]
);
t
(
"Is Visible"
,
"div:visible:not(
.
qunit-testrunner-toolbar):lt(2)"
,
[
"nothiddendiv"
,
"nothiddendivchild"
]
);
t
(
"Is Visible"
,
"div:visible:not(
#
qunit-testrunner-toolbar):lt(2)"
,
[
"nothiddendiv"
,
"nothiddendivchild"
]
);
t
(
"Is Hidden"
,
"#form input:hidden"
,
[
"text1"
,
"text2"
,
"radio1"
,
"radio2"
,
"check1"
,
"check2"
,
"hidden1"
,
"hidden2"
,
"name"
,
"search"
]
);
t
(
"Is Hidden"
,
"#form input:hidden"
,
[
"text1"
,
"text2"
,
"radio1"
,
"radio2"
,
"check1"
,
"check2"
,
"hidden1"
,
"hidden2"
,
"name"
,
"search"
]
);
t
(
"Is Hidden"
,
"#main:hidden"
,
[
"main"
]
);
t
(
"Is Hidden"
,
"#main:hidden"
,
[
"main"
]
);
t
(
"Is Hidden"
,
"#dl:hidden"
,
[
"dl"
]
);
t
(
"Is Hidden"
,
"#dl:hidden"
,
[
"dl"
]
);
...
...
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