Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Auto height, column balancing, and column-wrap:wrap, forced breaks</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<!-- Rows are allowed to wrap, and, although the block-size of the multicol
container is unconstrained, and there's no column-height specified, there
should be multiple rows, due to forced breaks. -->
<div style="position:relative; width:100px; height:100px; background:red;">
<div style="columns:2; gap:10px 0; column-wrap:wrap;">
<div style="break-after:column; height:20px; background:green;"></div>
<div style="break-after:column; height:20px; background:green;"></div>
<div style="break-after:column; height:50px; background:green;"></div>
<div style="break-after:column; height:50px; background:green;"></div>
<div style="break-after:column; height:10px; background:green;"></div>
<div style="break-after:column; height:10px; background:green;"></div>
</div>
<div style="position:absolute; top:20px; width:100%; height:10px; background:green;"></div>
<div style="position:absolute; top:80px; width:100%; height:10px; background:green;"></div>
</div>