Chromium Code Reviews| 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 background-color: red; | |
| 11 } | |
| 12 </style> | |
| 13 </head> | |
| 14 <body> | |
| 15 <p>This tests the invalidation behaviour of the paint callback.</p> | |
| 16 <p>See the devtools console for test output.</p> | |
| 17 <script> | |
| 18 // TODO(ikilpatrick): Should test shorthands and direction aware properties. | |
| 19 testRunnerInvalidationLogging('background-image', [ | |
| 20 { property: 'max-height', value: '160px' }, | |
|
chrishtr
2016/04/27 19:52:40
It doesn't look like these tests check the new val
ikilpatrick
2016/04/28 22:30:16
Need the TypedOM to plumb through the values of th
chrishtr
2016/04/29 00:25:33
Ok please file a bug to remind yourself to do it?
ikilpatrick
2016/04/29 22:42:01
Done: https://bugs.chromium.org/p/chromium/issues/
| |
| 21 { property: 'border-top-color', value: 'blue' }, | |
| 22 { property: 'flex-basis', value: '100px' }, | |
| 23 { property: 'flex-grow', value: '2' }, | |
| 24 { property: 'color', value: 'red' }, | |
| 25 { property: '--foo', value: 'foo' }, | |
| 26 ]); | |
| 27 </script> | |
| 28 </body> | |
| 29 </html> | |
| OLD | NEW |