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
0256edbd
Commit
0256edbd
authored
Sep 29, 2009
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved the jQuery-specific test suite CSS into a separate file.
parent
b996026e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
107 additions
and
4 deletions
+107
-4
testsuite.css
test/data/testsuite.css
+105
-0
index.html
test/index.html
+2
-4
No files found.
test/data/testsuite.css
0 → 100644
View file @
0256edbd
/* for testing opacity set in styles in IE */
ol
#empty
{
opacity
:
0
;
filter
:
Alpha
(
opacity
=
0
);
}
div
#fx-tests
h4
{
background
:
red
;
}
div
#fx-tests
h4
.pass
{
background
:
green
;
}
div
#fx-tests
div
.box
{
background
:
red
url(data/cow.jpg)
no-repeat
;
overflow
:
hidden
;
border
:
2px
solid
#000
;
}
div
#fx-tests
div
.overflow
{
overflow
:
visible
;
}
div
.inline
{
display
:
inline
;
}
div
.autoheight
{
height
:
auto
;
}
div
.autowidth
{
width
:
auto
;
}
div
.autoopacity
{
opacity
:
auto
;
}
div
.largewidth
{
width
:
100px
;
}
div
.largeheight
{
height
:
100px
;
}
div
.largeopacity
{
filter
:
progid
:
DXImageTransform
.
Microsoft
.
Alpha
(
opacity
=
100
);
}
div
.medwidth
{
width
:
50px
;
}
div
.medheight
{
height
:
50px
;
}
div
.medopacity
{
opacity
:
0.5
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
Alpha
(
opacity
=
50
);
}
div
.nowidth
{
width
:
0px
;
}
div
.noheight
{
height
:
0px
;
}
div
.noopacity
{
opacity
:
0
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
Alpha
(
opacity
=
0
);
}
div
.hidden
{
display
:
none
;
}
div
#fx-tests
div
.widewidth
{
background-repeat
:
repeat-x
;
}
div
#fx-tests
div
.wideheight
{
background-repeat
:
repeat-y
;
}
div
#fx-tests
div
.widewidth.wideheight
{
background-repeat
:
repeat
;
}
div
#fx-tests
div
.noback
{
background-image
:
none
;
}
div
.chain
,
div
.chain
div
{
width
:
100px
;
height
:
20px
;
position
:
relative
;
float
:
left
;
}
div
.chain
div
{
position
:
absolute
;
top
:
0px
;
left
:
0px
;
}
div
.chain.test
{
background
:
red
;
}
div
.chain.test
div
{
background
:
green
;
}
div
.chain.out
{
background
:
green
;
}
div
.chain.out
div
{
background
:
red
;
display
:
none
;
}
div
#show-tests
*
{
display
:
none
;
}
test/index.html
View file @
0256edbd
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"en"
lang=
"en"
dir=
"ltr"
id=
"html"
>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"en"
lang=
"en"
dir=
"ltr"
id=
"html"
class=
"qunit"
>
<head>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
jQuery Test Suite
</title>
<title>
jQuery Test Suite
</title>
<link
rel=
"Stylesheet"
media=
"screen"
href=
"qunit/testsuite.css"
/>
<link
rel=
"Stylesheet"
media=
"screen"
href=
"qunit/testsuite.css"
/>
<style
type=
"text/css"
media=
"screen"
>
<link
rel=
"Stylesheet"
media=
"screen"
href=
"data/testsuite.css"
/>
ol
#empty
{
opacity
:
0
;
filter
:
Alpha
(
opacity
=
0
);
}
/* for testing opacity set in styles in IE */
</style>
<!-- Includes -->
<!-- Includes -->
<script
type=
"text/javascript"
src=
"data/testinit.js"
></script>
<script
type=
"text/javascript"
src=
"data/testinit.js"
></script>
<script
type=
"text/javascript"
src=
"../dist/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"../dist/jquery.js"
></script>
...
...
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