tor-browser

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

single-line-row-flex-fragmentation-048.html (976B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>Tests that a flex item with aspect-ratio applies the automatic content-based block-size 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" herf="https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum">
      8 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1744363">
      9 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
     10 
     11 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     12 <div style="width: 100px; height: 100px; columns: 2; column-gap: 0; column-fill: auto; background: red;">
     13  <div style="display: flex;">
     14    <div style="width: 50px; aspect-ratio: 1/2; background: green;">
     15      <div style="height: 200px;"></div>
     16    </div>
     17  </div>
     18 </div>