tor-browser

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

flex-grow-005.html (1101B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Flexbox Test: flex-grow - (invalid when applied to flex container)</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com">
      5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" title="7.3.1. The 'flex-grow' property" href="http://www.w3.org/TR/css-flexbox-1/#flex-grow-property">
      7 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      8 <meta name="assert" content="The 'flex-grow' property is invalid when the property applied to flex container.">
      9 <style>
     10  #container {
     11    background-color: green;
     12    display: flex;
     13    flex-grow: 2;
     14    height: 100px;
     15    width: 100px;
     16  }
     17  #container div {
     18    background-color: red;
     19    height: 100px;
     20    width: 25px;
     21  }
     22  #cover {
     23    background-color: green;
     24    height: 100px;
     25    position: relative;
     26    top: -100px;
     27    width: 50px;
     28  }
     29 </style>
     30 <body>
     31  <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     32  <div id="container">
     33    <div></div>
     34    <div></div>
     35  </div>
     36  <div id="cover"></div>
     37 </body>