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 two identical boxes below.</p> | 12 <p>There should be two identical boxes below.</p> |
15 <div id="mc" style="-webkit-columns:4; columns:4; orphans:1; widows:1; color
:olive; background:olive;"> | 13 <div id="mc" style="-webkit-columns:4; columns:4; orphans:1; widows:1; color
:olive; background:olive;"> |
16 line<br> | 14 line<br> |
17 </div> | 15 </div> |
18 <div id="ref" style="margin-top:1em; color:olive; background:olive;"> | 16 <div id="ref" style="margin-top:1em; color:olive; background:olive;"> |
19 line<br> | 17 line<br> |
20 </div> | 18 </div> |
21 <script> | 19 <script> |
22 shouldBe("mc.offsetHeight", "ref.offsetHeight"); | 20 shouldBe("mc.offsetHeight", "ref.offsetHeight"); |
23 </script> | 21 </script> |
24 </body> | 22 </body> |
25 </html> | 23 </html> |
OLD | NEW |