| OLD | NEW |
| 1 <!-- Based on fast/repaint/multicol-with-relpos.html --> | 1 <!-- Based on fast/repaint/multicol-with-relpos.html --> |
| 2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
| 3 <script src="resources/paint-invalidation-test.js"></script> | 3 <script src="resources/paint-invalidation-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 onload = runPaintInvalidationTest; | 5 onload = runPaintInvalidationTest; |
| 6 window.expectedPaintInvalidationObjects = [ | |
| 7 "LayoutBlockFlow (relative positioned) DIV id='target'", | |
| 8 ]; | |
| 9 function paintInvalidationTest() { | 6 function paintInvalidationTest() { |
| 10 var target = document.getElementById('target'); | 7 var target = document.getElementById('target'); |
| 11 target.style.visibility = 'visible'; | 8 target.style.visibility = 'visible'; |
| 12 } | 9 } |
| 13 </script> | 10 </script> |
| 14 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:
630px; height:40px; color:green;"> | 11 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:
630px; height:40px; color:green;"> |
| 15 <br> | 12 <br> |
| 16 <br> | 13 <br> |
| 17 <br> | 14 <br> |
| 18 <br> | 15 <br> |
| 19 <br> | 16 <br> |
| 20 <br> | 17 <br> |
| 21 <div id="target" style="position:relative; left:20px; top:20px; height:20px;
visibility:hidden; background:green;"></div> | 18 <div id="target" style="position:relative; left:20px; top:20px; height:20px;
visibility:hidden; background:green;"></div> |
| 22 </div> | 19 </div> |
| 23 <p>A green rectangle should be seen above.</p> | 20 <p>A green rectangle should be seen above.</p> |
| OLD | NEW |