| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 div { | 3 div { |
| 4 position: absolute; | 4 position: absolute; |
| 5 width: 100px; | 5 width: 100px; |
| 6 height: 100px; | 6 height: 100px; |
| 7 } | 7 } |
| 8 #target { | 8 #target { |
| 9 background: red; | 9 background: red; |
| 10 opacity: 1; | 10 opacity: 1; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 return target.animate({transform: ['none', 'none']}, 1).ready; | 27 return target.animate({transform: ['none', 'none']}, 1).ready; |
| 28 } | 28 } |
| 29 | 29 |
| 30 waitForCompositor().then(() => { | 30 waitForCompositor().then(() => { |
| 31 target.style.opacity = '0'; | 31 target.style.opacity = '0'; |
| 32 }).then(() => waitForCompositor()).then(() => { | 32 }).then(() => waitForCompositor()).then(() => { |
| 33 if (window.testRunner) | 33 if (window.testRunner) |
| 34 testRunner.notifyDone(); | 34 testRunner.notifyDone(); |
| 35 }); | 35 }); |
| 36 </script> | 36 </script> |
| OLD | NEW |