tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

box-decoration-break-clone-012.html (1168B)


      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="Break before tall monolithic content.">
      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="overflow:clip; width:100px; height:100px; background:red;">
      8  <div style="columns:2; column-fill:auto; gap:0; height:60px;">
      9    <div style="box-decoration-break:clone; border:20px solid green;">
     10      <div style="height:10px; background:green;"></div>
     11      <div style="contain:size; height:150px; background:green;">
     12        <div style="height:10px;"></div>
     13        <!-- Fill the hole inside the border in the first column: -->
     14        <div style="margin-left:-50px; width:10px; height:10px; background:green;"></div>
     15        <div style="height:20px;"></div>
     16        <!-- Fill the gap after the box in the first column: -->
     17        <div style="margin-left:-70px; width:50px; height:40px; background:green;"></div>
     18      </div>
     19    </div>
     20  </div>
     21 </div>