mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,89 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Tests: CSS Animations : animation-duration value set to 0 (zero).</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-animations/#animation-name-property">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-animations/#animation-duration-property">
|
||||
<link rel="author" title="Nokia Inc." href="http://www.nokia.com/">
|
||||
<meta name="flags" content="animated">
|
||||
<meta name="assert" content="When animation-duration is set to 0 (zero), the animation cycle is immediate (i.e. there will be NO animation seen).">
|
||||
<style type="text/css">
|
||||
/* */
|
||||
@-webkit-keyframes sample {
|
||||
from {
|
||||
left: 150px;
|
||||
}
|
||||
to {
|
||||
left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes sample {
|
||||
from {
|
||||
left: 150px;
|
||||
}
|
||||
to {
|
||||
left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes sample {
|
||||
from {
|
||||
left: 150px;
|
||||
}
|
||||
to {
|
||||
left: 0px;
|
||||
}
|
||||
}
|
||||
.abc {
|
||||
background-color: blue;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
padding: 0.2em 1em;
|
||||
margin: 6em;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
|
||||
-webkit-animation-name: sample;
|
||||
-webkit-animation-duration: 0s;
|
||||
|
||||
-moz-animation-name: sample;
|
||||
-moz-animation-duration: 0s;
|
||||
|
||||
animation-name: sample;
|
||||
animation-duration: 0s;
|
||||
}
|
||||
.def {
|
||||
position: absolute;
|
||||
background-color: red;
|
||||
left: 0px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
padding: 0.2em 1em;
|
||||
margin: 6em;
|
||||
z-index: -1;
|
||||
}
|
||||
/* */
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p id="testdetails">
|
||||
Assertion: When animation-duration is set to 0 (zero), the animation cycle is immediate (i.e. there will be NO animation seen).
|
||||
</p>
|
||||
<p>
|
||||
<ul>
|
||||
<li>PASS if a blue colored box with text "CSS3 Testing Content" appears below and NO animation is seen. Also no red should be visible on this page.</li>
|
||||
<li>FAIL if blue box is animated/moved or if red is visible.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<div class="abc">
|
||||
CSS3 Testing Content
|
||||
</div>
|
||||
<div class="def">
|
||||
Reference
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue