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="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../js/resources/js-test-pre.js"></script> |
6 <script> | 6 <script> |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 if (window.internals) | 9 if (window.internals) |
10 internals.settings.setRegionBasedColumnsEnabled(true); | 10 internals.settings.setRegionBasedColumnsEnabled(true); |
11 </script> | 11 </script> |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 <p>There should be two identical boxes below.</p> | 14 <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;"> | 15 <div id="mc" style="-webkit-columns:4; columns:4; orphans:1; widows:1; color
:olive; background:olive;"> |
16 line<br> | 16 line<br> |
17 line<br> | 17 line<br> |
18 line<br> | 18 line<br> |
19 </div> | 19 </div> |
20 <div id="ref" style="margin-top:1em; color:olive; background:olive;"> | 20 <div id="ref" style="margin-top:1em; color:olive; background:olive;"> |
21 line<br> | 21 line<br> |
22 </div> | 22 </div> |
23 <script> | 23 <script> |
24 shouldBe("mc.offsetHeight", "ref.offsetHeight"); | 24 shouldBe("mc.offsetHeight", "ref.offsetHeight"); |
25 </script> | 25 </script> |
26 <script src="../../js/resources/js-test-post.js"></script> | |
27 </body> | 26 </body> |
28 </html> | 27 </html> |
OLD | NEW |