tor-browser

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

align-items-005.htm (1434B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3    <head>
      4        <title>CSS Test: A flex container with the 'align-items' property set to 'stretch'</title>
      5        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6        <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-items-property" />
      7        <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-items-property" />
      8        <link rel="match" href="reference/align-content-001-ref.html" />
      9        <meta name="assert" content="This test checks that the flex container with 'align-items: stretch' places each flex item's margin box so that its cross size is the same as the cross size of the line." />
     10        <style type="text/css">
     11            #flexbox
     12            {
     13                background: red;
     14                align-items: center;
     15                align-items: stretch;
     16                display: flex;
     17                height: 100px;
     18                width: 300px;
     19            }
     20            div div
     21            {
     22                background-color: green;
     23                width: 150px;
     24            }
     25        </style>
     26    </head>
     27    <body>
     28        <p>Test passes if there is no red visible on the page.</p>
     29        <div id="flexbox">
     30            <div></div>
     31            <div></div>
     32        </div>
     33    </body>
     34 </html>