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 display: list-item; |
| 9 margin-left: 20px; |
| 10 width: 100px; |
| 11 height: 100px; |
| 12 } |
| 13 </style> |
| 14 </head> |
| 15 <body> |
| 16 <p>This tests the invalidation behaviour of the paint callback.</p> |
| 17 <p>See the devtools console for test output.</p> |
| 18 <script> |
| 19 // TODO(ikilpatrick): Should test shorthands and direction aware properties. |
| 20 testRunnerInvalidationLogging('list-style-image', [ |
| 21 { property: 'max-height', value: '160px' }, |
| 22 { property: 'border-top-color', value: 'blue' }, |
| 23 { property: 'flex-basis', value: '100px' }, |
| 24 { property: 'flex-grow', value: '2' }, |
| 25 { property: 'color', value: 'red' }, |
| 26 { property: '--foo', value: 'foo' }, |
| 27 ]); |
| 28 </script> |
| 29 </body> |
| 30 </html> |
OLD | NEW |