5 <style type=
"text/css" media=
"screen">
11 background-color: blue;
15 -webkit-animation: move
1s linear;
19 @-webkit-keyframes move {
31 <script src=
"resources/animation-test-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
32 <script type=
"text/javascript" charset=
"utf-8">
34 if (window.testRunner)
35 testRunner.waitUntilDone();
37 const expectedValues = [
38 // [time, element-id, property, expected-value, tolerance]
39 [
0.5,
"test",
"left",
450,
8],
44 document.getElementById('test').className = 'animating box';
45 runAnimationTest(expectedValues);
48 window.addEventListener('load', function() {
49 window.setTimeout(setupTest,
0);
55 <p>Box should animate from left of
400px to
500px.
</p>
56 <div id=
"test" class=
"box"></div>
57 <div id=
"result"></div>