tor-browser

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

flex-direction-column-reverse-002-visual.html (1041B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>CSS Test: flex-direction: column-reverse swaps main start and end directions</title>
      5  <link rel="author" title="Sylvain Galineau" href="mailto:galineau@adobe.com">
      6  <link rel="reviewer" title="Arron Eicholz" href="mailto:arronei@microsoft.com">
      7  <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction">
      8  <meta name="assert" content="This test checks that column-reverse flex-direction swaps the main start and main end directions">
      9  <style>
     10    .test {
     11      display: flex;
     12      float:left;
     13      height: 3em;
     14    }
     15 
     16    .test > span {
     17      height: 1em;
     18    }
     19 
     20    #column {
     21      flex-direction: column;
     22    }
     23 
     24    #column-reverse {
     25      flex-direction: column-reverse;
     26    }
     27  </style>
     28 </head>
     29 <body>
     30  <p>Test passes if both the two columns below are identical.</p>
     31  <div class="test" id="column">
     32    <span>A</span><span>B</span><span>C</span>
     33  </div>
     34  <div class="test" id="column-reverse">
     35    <span>C</span><span>B</span><span>A</span>
     36  </div>
     37 </body>
     38 </html>