Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <p style="height: 100px"> | |
| 3 Tests paint invalidation of column rules when column changes without changing ge ometry of the column and the column set. | |
| 4 Passes if no under-invalidation is reported. | |
| 5 </p> | |
| 6 <div id="columns" style="columns: 1; background-color: blue; column-rule: 2px so lid green; width: 200px; height: 200px"> | |
| 7 <div id="content1" style="display: inline-block; width: 50px; height: 100px; b ackground-color: yellow"></div><br> | |
| 8 <div id="content2" style="display: inline-block; width: 50px; height: 100px; b ackground-color: yellow"></div> | |
| 9 </div> | |
| 10 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
| 11 <script> | |
| 12 onload = function() { | |
|
mstensho (USE GERRIT)
2016/08/12 19:17:36
Does it really need to be inside an onload handler
Xianzhu
2016/08/12 19:24:08
No. Removed.
(It will be necessary if the script
| |
| 13 runAfterLayoutAndPaint(function() { | |
| 14 columns.style.columns = 2; | |
| 15 content1.style.height = '200px'; | |
| 16 }, true); | |
| 17 }; | |
| 18 </script> | |
| OLD | NEW |