tor-browser

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

row-007.html (878B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#intrinsic-sizes">
      4 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      5 <meta name="assert"
      6  content="Include borders in max-width when max-width wins over an inflexible flex-basis." />
      7 
      8 <style>
      9  #reference-overlapped-red {
     10    position: absolute;
     11    background-color: red;
     12    width: 100px;
     13    height: 100px;
     14    z-index: -1;
     15  }
     16 </style>
     17 
     18 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     19 </p>
     20 
     21 <div id=reference-overlapped-red></div>
     22 
     23 <div
     24  style="display: flex; flex-direction: row; width: max-content; background: green; height: 100px;">
     25  <div
     26    style="flex: 0 0 200px; border: 10px solid transparent; box-sizing: border-box; max-width: 100px;">
     27  </div>
     28 </div>