| <!DOCTYPE html> |
| <script src="../../../resources/check-layout.js"></script> |
| <p>Test that overflow is recalculated when multicol contents changes.</p> |
| <p>There should be no scrollbars on this page.</p> |
| <div id="multicol" style="-webkit-columns:2; column-fill:auto; overflow:auto; width:100px; height:100px;" data-expected-scroll-width="100"> |
| <div id="filler" style="height:300px;"></div> |
| |
| <!-- Need something more in here, or the column set would get nuked along with #filler when |
| it's removed: --> |
| <div></div> |
| </div> |
| <script> |
| document.body.offsetTop; |
| document.getElementById("filler").style.display = "none"; |
| checkLayout("#multicol"); |
| </script> |