Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<meta name="assert" content="Cloned box decorations on flex item with break in wrapped row flow.">
<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>
<div style="width:100px; height:100px; background:red;">
<div style="columns:4; column-fill:auto; gap:0; height:60px;">
<div style="display:flex; flex-flow:wrap; box-decoration-break:clone; border:solid green; border-width:20px 0 10px; background:green;">
<div style="width:50%; height:70px;"></div>
<div style="width:50%; height:30px;"></div>
<div style="width:50%; height:10px;"></div>
<div style="contain:size; width:50%; height:70px;">
<div style="height:40px;"></div>
<!-- Move to the first column, and cover the area below the first three columns: -->
<div style="height:40px; margin-left:-700%; width:600%; background:green;"></div>
</div>
</div>
</div>
</div>