box-decoration-break-clone-005.tentative.html (1084B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/10553"> 4 <meta name="assert" content="Test how an abspos contained by a block with cloned box decoration behaves."> 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 <!-- The expectation here (which might not be correct), is that the abspos 9 will start at the block-start padding edge of #container, and overlap 10 with cloned borders, although it fragments. Should it rather steer clear 11 of the cloned borders? --> 12 <div id="container" style="position:relative; box-decoration-break:clone; border:solid green; border-width:20px 0; border-bottom-color:red; padding:10px; height:80px;"> 13 <div style="position:absolute; top:0; left:0; width:100%; height:180px; background:green;"></div> 14 </div> 15 </div>