tor-browser

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

stretched-child-in-nested-flexbox-001.html (917B)


      1 <!DOCTYPE html>
      2 <html>
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#propdef-align-content" />
      4 <title>css-flexbox: Tests nested flex item with `align-items: stretch`</title>
      5 <link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#align-items-property">
      7 <link rel="match" href="/css/reference/ref-filled-green-100px-square.xht">
      8 <meta name="assert" content="This checks that a stretched flex item in a nested flexbox streches to the size of the parent flex container's line.">
      9 <body>
     10    <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     11    <div style="display: flex;">
     12        <div style="width: 50px; height: 100px; background: green;"></div>
     13        <div style="display: flex;">
     14            <div style="background: green; width: 50px;"></div>
     15      </div>
     16    </div>
     17 </body>
     18 </html>