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
e0c7e6ae
Commit
e0c7e6ae
authored
Jan 03, 2007
by
Jörn Zaefferer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated test for #750
parent
02483b4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
index.html
build/test/index.html
+5
-0
selectorTest.js
src/selector/selectorTest.js
+2
-2
No files found.
build/test/index.html
View file @
e0c7e6ae
...
@@ -72,6 +72,11 @@
...
@@ -72,6 +72,11 @@
<option
id=
"option3c"
selected=
"selected"
value=
"2"
>
2
</option>
<option
id=
"option3c"
selected=
"selected"
value=
"2"
>
2
</option>
<option
id=
"option3d"
value=
"3"
>
3
</option>
<option
id=
"option3d"
value=
"3"
>
3
</option>
</select>
</select>
<object
id=
"object1"
codebase=
"stupid"
>
<param
id=
"param1"
/>
<param
id=
"param2"
/>
</object>
</form>
</form>
<b
id=
"floatTest"
>
Float test.
</b>
<b
id=
"floatTest"
>
Float test.
</b>
</div>
</div>
...
...
src/selector/selectorTest.js
View file @
e0c7e6ae
...
@@ -7,8 +7,8 @@ test("expressions - element", function() {
...
@@ -7,8 +7,8 @@ test("expressions - element", function() {
t
(
"Element Selector"
,
"body"
,
[
"body"
]
);
t
(
"Element Selector"
,
"body"
,
[
"body"
]
);
t
(
"Element Selector"
,
"html"
,
[
"html"
]
);
t
(
"Element Selector"
,
"html"
,
[
"html"
]
);
t
(
"Parent Element"
,
"div div"
,
[
"foo"
]
);
t
(
"Parent Element"
,
"div div"
,
[
"foo"
]
);
t
(
"Object/Param element"
,
"#object param"
,
[
"param1"
,
"param2"
]
);
t
(
"Object/Param element"
,
"#object
1
param"
,
[
"param1"
,
"param2"
]
);
ok
(
$
(
"param"
,
$
(
"#object"
)[
0
]).
length
==
2
,
"Object/param as context"
);
ok
(
$
(
"param"
,
$
(
"#object
1
"
)[
0
]).
length
==
2
,
"Object/param as context"
);
});
});
test
(
"expressions - id"
,
function
()
{
test
(
"expressions - id"
,
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