4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
10 border:
1px solid black;
11 -webkit-box-reflect: right
10px;
21 border:
2px solid blue;
22 -webkit-box-reflect: below
10px;
30 background-color: green;
34 -webkit-animation: swing
1s linear
1;
37 /* for manual testing */
39 -webkit-animation-play-state: paused;
43 transform: translateZ(
0);
46 @-webkit-keyframes swing {
47 from { transform: rotate(
0deg); }
48 to { transform: rotate(
90deg); }
51 <script src=
"../../animations/resources/animation-test-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
52 <script type=
"text/javascript" charset=
"utf-8">
53 const expectedValues = [
54 // [time, element-id, property, expected-value, tolerance]
55 [
0.5,
"animated",
"webkitTransform.0",
0.76,
0.1],
59 var disablePauseAPI = false;
60 runAnimationTest(expectedValues, null, null, disablePauseAPI, pixelTest);
64 <p>The top left box, and all reflections should be rotated
45deg.
</p>
66 <div id=
"inner" class=
"inner">
67 <div id=
"animated" class=
"animated"></div>
70 <div id=
"result"></div>