| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> | 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 <style> | 4 <style> |
| 5 @keyframes anim-missing-from { to { width: 200px; height: 200px; } } | 5 @keyframes anim-missing-from { to { width: 200px; height: 200px; } } |
| 6 @keyframes anim-missing-to { from { left: 100px; } } | 6 @keyframes anim-missing-to { from { left: 100px; } } |
| 7 @keyframes anim-missing-both { 50% { left: 100px; } } | 7 @keyframes anim-missing-both { 50% { left: 100px; } } |
| 8 @keyframes anim-missing-compositor { 100% { opacity: 0.0; } } | 8 @keyframes anim-missing-compositor { 100% { opacity: 0.0; } } |
| 9 @keyframes anim-missing-ems { from { top: 1em; } } | 9 @keyframes anim-missing-ems { from { top: 1em; } } |
| 10 | 10 |
| 11 .target { | 11 .target { |
| 12 visibility: hidden; | 12 visibility: hidden; |
| 13 position: absolute; | 13 position: absolute; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 var async = async_test("Check that running animations with neutral keyframes a
re responsive to style changes"); | 78 var async = async_test("Check that running animations with neutral keyframes a
re responsive to style changes"); |
| 79 requestAnimationFrame(function() { | 79 requestAnimationFrame(function() { |
| 80 assert_less_than(parseInt(getComputedStyle(target6).width), 200); | 80 assert_less_than(parseInt(getComputedStyle(target6).width), 200); |
| 81 requestAnimationFrame(function() { | 81 requestAnimationFrame(function() { |
| 82 target6.classList.add('changed'); | 82 target6.classList.add('changed'); |
| 83 assert_greater_than(parseInt(getComputedStyle(target6).width), 200); | 83 assert_greater_than(parseInt(getComputedStyle(target6).width), 200); |
| 84 async.done(); | 84 async.done(); |
| 85 }); | 85 }); |
| 86 }); | 86 }); |
| 87 </script> | 87 </script> |
| OLD | NEW |