| 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:3; columns:3; orphans:1; widows:1; line-
height:50px; margin:1em; float:left; width:18em; color:olive; background:olive;"
> | 13 <div id="mc" style="-webkit-columns:3; columns:3; orphans:1; widows:1; line-
height:50px; margin:1em; float:left; width:18em; color:olive; background:olive;"
> |
| 16 <span>line</span><br> | 14 <span>line</span><br> |
| 17 <span>line</span><br> | 15 <span>line</span><br> |
| 18 <span>line</span><br> | 16 <span>line</span><br> |
| 19 <span>line</span><br> | 17 <span>line</span><br> |
| 20 <span>line</span><br> | 18 <span>line</span><br> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 34 <span>line</span><br> | 32 <span>line</span><br> |
| 35 <span style="line-height:150px;">line</span><br> | 33 <span style="line-height:150px;">line</span><br> |
| 36 <span>line</span><br> | 34 <span>line</span><br> |
| 37 <span>line</span><br> | 35 <span>line</span><br> |
| 38 </div> | 36 </div> |
| 39 <script> | 37 <script> |
| 40 shouldBe("mc.offsetHeight", "ref.offsetHeight"); | 38 shouldBe("mc.offsetHeight", "ref.offsetHeight"); |
| 41 </script> | 39 </script> |
| 42 </body> | 40 </body> |
| 43 </html> | 41 </html> |
| OLD | NEW |