mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision 2baa72daab8bf37e3e910a9fd311a1eaa5b0f4a8
This commit is contained in:
parent
662c00a810
commit
df03062d62
10934 changed files with 428309 additions and 254265 deletions
|
@ -1,75 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>CSS Tests: CSS Animations. animation-iteration-count is not set and testing for default value.</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="help" href="http://www.w3.org/TR/css3-animations/#animation-iteration-count-property" />
|
||||
<link rel="author" title="Nokia Inc." href="http://www.nokia.com/" />
|
||||
<meta name="flags" content="animated" />
|
||||
<meta name="assert" content="When animation-iteration-count is not set; 1 is taken by default and animation will play from beginning to end once." />
|
||||
<style type="text/css">
|
||||
/* <![CDATA[ */
|
||||
@-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: relative;
|
||||
|
||||
-webkit-animation-name: sample;
|
||||
-webkit-animation-duration: 10s;
|
||||
|
||||
-moz-animation-name: sample;
|
||||
-moz-animation-duration: 10s;
|
||||
|
||||
animation-name: sample;
|
||||
animation-duration: 10s;
|
||||
}
|
||||
/* ]]> */
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p id="testdetails">
|
||||
<p>
|
||||
Assertion: When animation-iteration-count is not set; 1 is taken by default and animation will play from beginning to end once.
|
||||
</p>
|
||||
<ul>
|
||||
<li>PASS if a blue colored Box with text "CSS3 Testing Content" appears below and box starts to animate/move from right to left ONCE.</li>
|
||||
<li>FAIL if the box fails to animate to left or repeats animation more than once.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<div class="abc">
|
||||
CSS3 Testing Content
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue