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 <script src="resources/generate-paint-style-logging.js"></script> | 6 <script src="resources/generate-paint-style-logging.js"></script> |
7 <style> | 7 <style> |
8 div { | 8 div { |
9 width: 100px; | 9 width: 100px; |
10 height: 100px; | 10 height: 100px; |
(...skipping 15 matching lines...) Expand all Loading... |
26 '--bar', | 26 '--bar', |
27 '--foo', | 27 '--foo', |
28 'align-items', | 28 'align-items', |
29 'border-radius', | 29 'border-radius', |
30 ])); | 30 ])); |
31 </script> | 31 </script> |
32 <p>This tests the style information in the paint callback.</p> | 32 <p>This tests the style information in the paint callback.</p> |
33 <p>See the devtools console for test output. The console should log:</p> | 33 <p>See the devtools console for test output. The console should log:</p> |
34 --bar: [null]<br> | 34 --bar: [null]<br> |
35 --foo: bar<br> | 35 --foo: bar<br> |
36 align-items: start<br> | 36 align-items: normal<br> |
37 border-radius: 2px | 37 border-radius: 2px |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |