tor-browser

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

single-line-column-flex-fragmentation-067.html (990B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>Tests that a percentage height is resolved correctly in a flex item in fragmented context.</title>
      4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      5 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      7 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1744363">
      8 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      9 
     10 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     11 <div style="width: 100px; height: 100px; columns: 2; column-gap: 0; column-fill: auto; background: red;">
     12  <div style="display: flex; flex-direction: column; height: 200px;">
     13    <div style="flex: none;">
     14      <div style="width: 50px; height: 100%; background: green;"></div>
     15      <div style="contain: size; width: 50px; height: 100px; background: green;"></div>
     16    </div>
     17  </div>
     18 </div>