tor-browser

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

multi-line-wrap-reverse-row-reverse.html (1456B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>CSS Test: flex container multiline wrapping-reverse in row-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-row-reverse-ref.html">
     10  <meta name="assert" content="This test check that a flex container reverse-wraps blocks multiline in row-reverse direction.">
     11  <style>
     12    * { margin:0; padding:0; font-size:100%; line-height:1; }
     13 
     14    #test {
     15      display: flex;
     16      flex-direction: row-reverse;
     17      flex-wrap: wrap-reverse;
     18      width: 300px;
     19    }
     20 
     21    p {
     22      margin-top: 10px;
     23      margin-right: 10px;
     24      background: #ccc;
     25    }
     26 
     27    #row1-col1 {
     28        width: 90px;
     29    }
     30 
     31    #row1-col2 {
     32        width: 90px;
     33    }
     34 
     35    #row1-col3 {
     36        width: 90px;
     37    }
     38 
     39    #row2-col1 {
     40        width: 140px;
     41    }
     42 
     43    #row2-col2 {
     44        width: 140px;
     45    }
     46 
     47    #row3-col1 {
     48        width: 290px;
     49    }
     50 
     51 
     52  </style>
     53 </head>
     54 <body>
     55  <div id="test">
     56    <p id="row3-col1">3-1</p>
     57    <p id="row2-col2">2-2</p>
     58    <p id="row2-col1">2-1</p>
     59    <p id="row1-col3">1-3</p>
     60    <p id="row1-col2">1-2</p>
     61    <p id="row1-col1">1-1</p>
     62  </div>
     63 </body>
     64 </html>