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 if (window.internals) | |
10 internals.settings.setRegionBasedColumnsEnabled(true); | |
11 </script> | 9 </script> |
12 </head> | 10 </head> |
13 <body> | 11 <body> |
14 <p>There should be no scrollbar on this page.</p> | 12 <p>There should be no scrollbar on this page.</p> |
15 <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;"> |
16 <div style="height:100px;"></div> | 14 <div style="height:100px;"></div> |
17 </div> | 15 </div> |
18 <script> | 16 <script> |
19 shouldBe("mc.offsetHeight", "34"); | 17 shouldBe("mc.offsetHeight", "34"); |
20 shouldBe("mc.scrollWidth", "500"); | 18 shouldBe("mc.scrollWidth", "500"); |
21 </script> | 19 </script> |
22 </body> | 20 </body> |
23 </html> | 21 </html> |
OLD | NEW |