Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style type="text/css" media="screen"> | 4 <style type="text/css" media="screen"> |
| 5 #test { | 5 #test { |
| 6 animation-name: test; | 6 animation-name: test; |
| 7 animation-direction: reverse; | 7 animation-direction: reverse; |
| 8 /* | 8 /* |
| 9 A non-reversed iteration runs in the range [0, <duration>), so to sample | 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 | 10 on the last keyframe we have to sample at the start of a reversed |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 const expectedValues = [ | 27 const expectedValues = [ |
| 28 // [time, element-id, property, expected-value, tolerance] | 28 // [time, element-id, property, expected-value, tolerance] |
| 29 [0, "test", "opacity", 1.0, 0.1], | 29 [0, "test", "opacity", 1.0, 0.1], |
| 30 ]; | 30 ]; |
| 31 | 31 |
| 32 runAnimationTest(expectedValues); | 32 runAnimationTest(expectedValues); |
| 33 </script> | 33 </script> |
| 34 </head> | 34 </head> |
| 35 <body> | 35 <body> |
| 36 <p>Tests sampling a keyframe animation on the last keyframe.</p> | 36 <p>Tests sampling a keyframe animation on the last keyframe.</p> |
| 37 <div id="test"></div> | 37 <div id="test">x</div> |
|
alancutter (OOO until 2018)
2017/02/16 01:12:30
This test doesn't depend on the animation being co
wkorman
2017/02/17 21:42:31
This test hangs when run in SPv2 via:
1. comment
alancutter (OOO until 2018)
2017/02/20 00:18:30
I consider this test failing as an indication that
wkorman
2017/02/23 21:36:58
I see what you're saying, but let me make sure I u
| |
| 38 <div id="result"> | 38 <div id="result"> |
| 39 </div> | 39 </div> |
| 40 </body> | 40 </body> |
| 41 </html> | 41 </html> |
| OLD | NEW |