tor-browser

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

table-as-item-narrow-content.html (708B)


      1 <!DOCTYPE html>
      2 <title>CSS Flexbox Test: Flex item as table with narrow content</title>
      3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      4 <link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#layout-algorithm" title="9. Flex Layout Algorithm">
      5 <meta name="assert" content="A flex item as a table uses the sizing algorithm of the flexbox">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      7 <p>Test passes if there is a filled green square.</p>
      8 <div style="display:flex; width:200px;">
      9  <div style="display:table; flex:1 0; background:green;">
     10    <div style="width:10px; height:100px;"></div>
     11  </div>
     12  <div style="flex:1 0;"></div>
     13 </div>