Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 div { | |
| 4 position: absolute; | |
| 5 width: 100px; | |
| 6 height: 100px; | |
| 7 } | |
| 8 | |
| 9 #target { | |
| 10 border: solid red; | |
| 11 } | |
| 12 | |
| 13 #expected { | |
| 14 border: solid green; | |
| 15 } | |
| 16 </style> | |
| 17 | |
| 18 <div id="target"></div> | |
| 19 <div id="expected"></div> | |
| 20 | |
| 21 <script> | |
| 22 // Both divs should rotate equally - Same speed, same angle | |
| 23 | |
| 24 var targetKeyframes = [{ rotate: '0deg 0 1 0' }, { rotate: '450deg 1 0 0'}] | |
| 25 var expectedKeyframes = [{ rotate: '0deg 1 0 0' }, { rotate: '450deg 1 0 0'}] | |
| 26 | |
| 27 target.animate(targetKeyframes, { duration: 4000, iterations: Infinity }); | |
| 28 expected.animate(expectedKeyframes, { duration: 4000, iterations: Infinity }); | |
| 29 | |
| 30 </script> | |
|
alancutter (OOO until 2018)
2015/09/01 01:48:46
Please don't add manual tests.
Eric Willigers
2015/09/01 06:24:42
Acknowledged.
| |
| OLD | NEW |