tor-browser

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

row-004.html (988B)


      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="the flex container's min-content size is the item's flex base size when the item can't grow, even when the item's intrinsic size > flex base size. The old algorithm gives the container a min-content of 200px." />
      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>.</p>
     19 
     20 <div id=reference-overlapped-red></div>
     21 
     22 <div style="width: 0px;">
     23  <div style="display: flex; background: green; height: 100px; float: left;">
     24    <div style="flex: 0 1 100px; min-width: 0px;">
     25      <div style="width: 200px;"></div>
     26    </div>
     27  </div>