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: 200px; | 8 width: 200px; |
9 height: 100px; | 9 height: 100px; |
10 background-image: paint(shadows); | 10 background-image: paint(shadows); |
(...skipping 20 matching lines...) Expand all Loading... |
31 ctx.fillRect(110, 10, 50, 50); | 31 ctx.fillRect(110, 10, 50, 50); |
32 } | 32 } |
33 }); | 33 }); |
34 </script> | 34 </script> |
35 | 35 |
36 <script> | 36 <script> |
37 importPaintWorkletAndTerminateTestAfterAsyncPaint(document.getElementById('c
ode').textContent); | 37 importPaintWorkletAndTerminateTestAfterAsyncPaint(document.getElementById('c
ode').textContent); |
38 </script> | 38 </script> |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |