4 <style type=
"text/css" media=
"screen">
7 animation-direction: reverse;
9 A non-reversed iteration runs in the range [
0,
<duration>), so to sample
10 on the last keyframe we have to sample at the start of a reversed
13 animation-duration:
1s;
24 <script src=
"resources/animation-test-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
25 <script type=
"text/javascript" charset=
"utf-8">
27 const expectedValues = [
28 // [time, element-id, property, expected-value, tolerance]
29 [
0,
"test",
"opacity",
1.0,
0.1],
32 runAnimationTest(expectedValues);
36 <p>Tests sampling a keyframe animation on the last keyframe.
</p>