1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
7 <title>Transition/Animation Test #
1</title>
8 <style type=
"text/css" media=
"screen">
15 background-color: blue;
16 -webkit-animation-duration:
0.5s;
17 -webkit-animation-timing-function: linear;
18 -webkit-animation-name: anim;
19 -webkit-transition-property: -webkit-transform;
20 -webkit-transition-duration:
10s;
22 @-webkit-keyframes anim {
23 from { transform: translateX(
200px); }
24 to { transform: translateX(
300px); }
27 <script src=
"resources/animation-test-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
28 <script type=
"text/javascript" charset=
"utf-8">
30 const expectedValues = [
31 // [time, element-id, property, expected-value, tolerance]
32 [
0.55,
"box",
"webkitTransform",
"none", null],
35 runAnimationTest(expectedValues, undefined, undefined, 'do-not-use-pause-api');
40 This test has a transition and animation on the same property (-webkit-transform). But the transition is never triggered,
41 so nothing should be moving when the animation finishes.