blob: de0d7d952ced0bd778fc07a0cf81ba090f65cd48 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>auto-height multicol</title>
<script src="../../js/resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals)
internals.settings.setRegionBasedColumnsEnabled(true);
</script>
</head>
<body>
<p>There should be two identical boxes below.</p>
<div id="mc" style="-webkit-columns:4; columns:4; orphans:1; widows:1; color:olive; background:olive;">
line<br>
line<br>
line<br>
line<br>
line<br>
</div>
<div id="ref" style="margin-top:1em; color:olive; background:olive;">
line<br>
line<br>
</div>
<script>
shouldBe("mc.offsetHeight", "ref.offsetHeight");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>