tor-browser

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

multi-line-wrap-reverse-column-reverse.html (1694B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>CSS Test: flex container multiline wrapping-reverse in column-reverse direction.</title>
      5  <link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com">
      6  <link rel="reviewer" title="Tab Atkins" href="mailto:jackalmage@gmail.com">
      7  <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-wrap-property">
      8  <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction-property">
      9  <link rel="match" href="multi-line-wrap-reverse-column-reverse-ref.html">
     10  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11  <meta name="assert" content="This test check that a flex container reverse-wraps blocks multiline in column-reverse direction.">
     12  <style>
     13    * { margin:0; padding:0; font-size:100%; line-height:1; font-family: Ahem; }
     14 
     15    #test {
     16      display: flex;
     17      flex-direction: column-reverse;
     18      flex-wrap: wrap-reverse;
     19      height: 300px;
     20    }
     21 
     22    p {
     23      margin-top: 10px;
     24      margin-right: 10px;
     25      background: #ccc;
     26    }
     27 
     28    #col1-row1 {
     29        height: 90px;
     30        color: orange;
     31    }
     32 
     33    #col1-row2 {
     34        height: 90px;
     35        color: green;
     36    }
     37 
     38    #col1-row3 {
     39        height: 90px;
     40        color: blue;
     41    }
     42 
     43    #col2-row1 {
     44        height: 140px;
     45        color: yellow;
     46    }
     47 
     48    #col2-row2 {
     49        height: 140px;
     50        color: magenta;
     51    }
     52 
     53    #col3-row1 {
     54        height: 290px;
     55        color: cyan;
     56    }
     57 
     58  </style>
     59 </head>
     60 <body>
     61  <div id="test">
     62    <p id="col3-row1">3-1</p>
     63    <p id="col2-row2">2-2</p>
     64    <p id="col2-row1">2-1</p>
     65    <p id="col1-row3">1-3</p>
     66    <p id="col1-row2">1-2</p>
     67    <p id="col1-row1">1-1</p>
     68  </div>
     69 </body>
     70 </html>