blob: 41f93090dd52677150f5711a1ac8b40f9c69f6d3 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../../resources/js-test.js"></script>
<p>There should be a <em>square</em> with some stuff inside below.</p>
<div id="console"></div>
<div id="mc" style="-webkit-writing-mode: vertical-rl;-webkit-text-orientation:sideways-right;text-rendering:optimizeLegibility; -webkit-columns:3; columns:3; height:7em; orphans:1; widows:1; background:olive;">
<div style="line-height:4em;">line</div>
<div style="line-height:8em;">line</div>
<img alt="x" style="display:block; width:2em;">
<div style="line-height:4em;">line</div>
<div style="line-height:10em;">line</div>
<div style="line-height:2em;">line</div>
<div style="line-height:6em;">line</div>
</div>
<div style="width:14em; height:7em; background:olive;"></div>
<script>
description("Tests that an image at a column boundary is recorded properly for balancing");
shouldBe("mc.offsetWidth", "224");
</script>