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 <script src="resources/test-runner-paint-worklet.js"></script> | 5 <script src="resources/test-runner-paint-worklet.js"></script> |
6 <style> | 6 <style> |
7 #output { | 7 #output { |
8 width: 100px; | 8 width: 100px; |
9 height: 100px; | 9 height: 100px; |
10 background-image: paint(error); | 10 background-image: paint(error); |
(...skipping 12 matching lines...) Expand all Loading... |
23 throw Error('failed!'); | 23 throw Error('failed!'); |
24 } | 24 } |
25 }); | 25 }); |
26 </script> | 26 </script> |
27 | 27 |
28 <script> | 28 <script> |
29 importPaintWorkletAndTerminateTestAfterAsyncPaint(document.getElementById('c
ode').textContent); | 29 importPaintWorkletAndTerminateTestAfterAsyncPaint(document.getElementById('c
ode').textContent); |
30 </script> | 30 </script> |
31 </body> | 31 </body> |
32 </html> | 32 </html> |
OLD | NEW |