| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../resources/run-after-layout-and-paint.js"></script> | 4 <script src="../resources/run-after-layout-and-paint.js"></script> |
| 5 <style> | 5 <style> |
| 6 #output { | 6 #output { |
| 7 width: 100px; | 7 width: 100px; |
| 8 height: 100px; | 8 height: 100px; |
| 9 background-color: red; | 9 background-color: red; |
| 10 } | 10 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 paintWorklet.addModule(URL.createObjectURL(blob)).then(function() { | 35 paintWorklet.addModule(URL.createObjectURL(blob)).then(function() { |
| 36 runAfterLayoutAndPaint(function() { | 36 runAfterLayoutAndPaint(function() { |
| 37 if (window.testRunner) { | 37 if (window.testRunner) { |
| 38 testRunner.notifyDone(); | 38 testRunner.notifyDone(); |
| 39 } | 39 } |
| 40 }); | 40 }); |
| 41 }); | 41 }); |
| 42 </script> | 42 </script> |
| 43 </body> | 43 </body> |
| 44 </html> | 44 </html> |
| OLD | NEW |