OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="../resources/run-after-layout-and-paint.js"></script> |
| 5 <script src="resources/test-runner-invalidation-logging.js"></script> |
| 6 <style> |
| 7 div { |
| 8 width: 100px; |
| 9 height: 100px; |
| 10 } |
| 11 </style> |
| 12 </head> |
| 13 <body> |
| 14 <p>This tests the invalidation behaviour of the paint callback.</p> |
| 15 <p>See the devtools console for test output.</p> |
| 16 <script> |
| 17 // TODO(ikilpatrick): Should test shorthands and direction aware properties. |
| 18 testRunnerInvalidationLogging('content', [ |
| 19 { property: 'max-height', value: '160px' }, |
| 20 { property: 'border-top-color', value: 'blue' }, |
| 21 { property: 'flex-basis', value: '100px' }, |
| 22 { property: 'flex-grow', value: '2' }, |
| 23 { property: 'color', value: 'red' }, |
| 24 { property: '--foo', value: 'foo' }, |
| 25 ]); |
| 26 </script> |
| 27 </body> |
| 28 </html> |
OLD | NEW |