box-decoration-break-clone-008.html (732B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://drafts.csswg.org/css-break/#break-decoration"> 4 <meta name="assert" content="Cloned box decorations, including margins."> 5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 6 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 7 <div style="columns:2; column-fill:auto; gap:0; width:100px; height:100px; background:red;"> 8 <div style="display:flow-root; background:green;"> 9 <div style="box-decoration-break:clone; margin:10px 0; padding:10px 0;"> 10 <div style="height:100px;"></div> 11 </div> 12 <div style="height:40px;"></div> 13 </div> 14 </div>