tor-browser

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

calc-size-flex-007.html (526B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-values-5/#calc-size">
      3 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      4 <p>Test passes if there is a filled green square and <strong>no red</strong>.
      5 <div style="display: flex; flex-wrap: wrap-reverse; width: 100px; height: 100px; position: relative;">
      6  <div style="background: red; max-height: 80px; height: calc-size(auto, size / 2); flex: 1;"></div>
      7  <div style="background: green; position: absolute; inset: 0;"></div>
      8 </div>