| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>auto-height multicol</title> | 4 <title>auto-height multicol</title> |
| 5 <script src="../../../resources/js-test.js"></script> | 5 <script src="../../../resources/js-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 if (window.testRunner) | 7 if (window.testRunner) |
| 8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
| 9 </script> | 9 </script> |
| 10 </head> | 10 </head> |
| 11 <body> | 11 <body> |
| 12 <p>There should be no scrollbar on this page.</p> | 12 <p>There should be no scrollbar on this page.</p> |
| 13 <div id="mc" style="-webkit-columns:3; columns:3; overflow:auto; width:500px
; orphans:1; widows:1;"> | 13 <div id="mc" style="-webkit-columns:3; columns:3; overflow:auto; width:500px
; orphans:1; widows:1;"> |
| 14 <div style="height:100px;"></div> | 14 <div style="height:100px;"></div> |
| 15 </div> | 15 </div> |
| 16 <script> | 16 <script> |
| 17 shouldBe("mc.offsetHeight", "34"); | 17 shouldBe("mc.offsetHeight", "33"); |
| 18 shouldBe("mc.scrollWidth", "500"); | 18 shouldBe("mc.scrollWidth", "500"); |
| 19 </script> | 19 </script> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |