| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <script src="../../resources/js-test.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 | 4 |
| 5 <style> | 5 <style> |
| 6 @-webkit-keyframes example { | 6 @keyframes example { |
| 7 from { | 7 from { |
| 8 width: 50px; | 8 width: 50px; |
| 9 height: 50px; | 9 height: 50px; |
| 10 top: 50px; | 10 top: 50px; |
| 11 } | 11 } |
| 12 to { | 12 to { |
| 13 width: 10px; | 13 width: 10px; |
| 14 height: 10px; | 14 height: 10px; |
| 15 top: 200px; | 15 top: 200px; |
| 16 } | 16 } |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 height: 50px; | 36 height: 50px; |
| 37 width: 50px; | 37 width: 50px; |
| 38 position: relative; | 38 position: relative; |
| 39 } | 39 } |
| 40 | 40 |
| 41 #after.animate:after, | 41 #after.animate:after, |
| 42 #before.animate:before { | 42 #before.animate:before { |
| 43 top: 200px; | 43 top: 200px; |
| 44 width: 10px; | 44 width: 10px; |
| 45 height: 10px; | 45 height: 10px; |
| 46 -webkit-animation: example 2s; | 46 animation: example 2s; |
| 47 -moz-animation: example 2s; | 47 -moz-animation: example 2s; |
| 48 animation: example 2s; | 48 animation: example 2s; |
| 49 } | 49 } |
| 50 | 50 |
| 51 #before, | 51 #before, |
| 52 #after { | 52 #after { |
| 53 display: inline-block; | 53 display: inline-block; |
| 54 border: 1px solid black; | 54 border: 1px solid black; |
| 55 background: red; | 55 background: red; |
| 56 } | 56 } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 onload = function() { | 114 onload = function() { |
| 115 testAnimation('before'); | 115 testAnimation('before'); |
| 116 testAnimation('after'); | 116 testAnimation('after'); |
| 117 if (window.internals) | 117 if (window.internals) |
| 118 isSuccessfullyParsed(); | 118 isSuccessfullyParsed(); |
| 119 else | 119 else |
| 120 setTimeout(isSuccessfullyParsed, 2000); | 120 setTimeout(isSuccessfullyParsed, 2000); |
| 121 }; | 121 }; |
| 122 </script> | 122 </script> |
| OLD | NEW |