OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test simple fill mode on transform</title> | 4 <title>Test simple fill mode on transform</title> |
5 <style> | 5 <style> |
6 .box { | 6 .box { |
7 position: relative; | 7 position: relative; |
8 left: 10px; | 8 left: 10px; |
9 top: 10px; | 9 top: 10px; |
10 height: 100px; | 10 height: 100px; |
(...skipping 14 matching lines...) Expand all Loading... |
25 animation-iteration-count: 2; | 25 animation-iteration-count: 2; |
26 animation-direction: reverse; | 26 animation-direction: reverse; |
27 } | 27 } |
28 #b { | 28 #b { |
29 background-color: #999; | 29 background-color: #999; |
30 animation-fill-mode: both; | 30 animation-fill-mode: both; |
31 animation-iteration-count: 2; | 31 animation-iteration-count: 2; |
32 animation-direction: alternate-reverse; | 32 animation-direction: alternate-reverse; |
33 } | 33 } |
34 </style> | 34 </style> |
35 <script src="resources/animation-test-helpers.js"></script> | 35 <script src="../resources/animation-test-helpers.js"></script> |
36 <script> | 36 <script> |
37 const numAnims = 1; | 37 const numAnims = 1; |
38 var animsFinished = 0; | 38 var animsFinished = 0; |
39 const allowance = 5; | 39 const allowance = 5; |
40 const expectedValues = [ | 40 const expectedValues = [ |
41 {id: "a", start: 300, end: 200}, | 41 {id: "a", start: 300, end: 200}, |
42 {id: "b", start: 300, end: 300} | 42 {id: "b", start: 300, end: 300} |
43 ]; | 43 ]; |
44 var result = ""; | 44 var result = ""; |
45 | 45 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 <div id="a" class="box"> | 94 <div id="a" class="box"> |
95 Both Iterate - Reverse | 95 Both Iterate - Reverse |
96 </div> | 96 </div> |
97 <div id="b" class="box"> | 97 <div id="b" class="box"> |
98 Both Iterate - Alternate Reverse | 98 Both Iterate - Alternate Reverse |
99 </div> | 99 </div> |
100 <div id="result"> | 100 <div id="result"> |
101 </div> | 101 </div> |
102 </body> | 102 </body> |
103 </html> | 103 </html> |
OLD | NEW |