OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../../resources/check-layout.js"></script> |
| 3 <p>Test that overflow is recalculated when multicol contents changes.</p> |
| 4 <p>There should be no scrollbars on this page.</p> |
| 5 <div id="multicol" style="-webkit-columns:2; column-fill:auto; overflow:auto; wi
dth:100px; height:100px;" data-expected-scroll-width="100"> |
| 6 <div id="filler" style="height:300px;"></div> |
| 7 |
| 8 <!-- Need something more in here, or the column set would get nuked along wi
th #filler when |
| 9 it's removed: --> |
| 10 <div></div> |
| 11 </div> |
| 12 <script> |
| 13 document.body.offsetTop; |
| 14 document.getElementById("filler").style.display = "none"; |
| 15 checkLayout("#multicol"); |
| 16 </script> |
OLD | NEW |