tor-browser

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

order-001.htm (1424B)


      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: The 'order' property on flex items set to a value of '-1'</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/#order-property" />
      7        <meta name="assert" content="This test checks that a flex container will lay out its content in the order specified by the ordinal groups." />
      8        <style type="text/css">
      9            #flexbox
     10            {
     11                background-color: red;
     12                display: flex;
     13                width: 300px;
     14            }
     15            div div
     16            {
     17                height: 100px;
     18                width: 150px;
     19            }
     20            #flexItem1
     21            {
     22                background-color: orange;
     23            }
     24            #flexItem2
     25            {
     26                background-color: blue;
     27                order: -1;
     28            }
     29        </style>
     30    </head>
     31    <body>
     32        <p>Test passes if there is a single blue rectangle on the left, a single orange rectangle directly to its right, and there is no red visible on the page.</p>
     33        <div id="flexbox">
     34            <div id="flexItem1"></div>
     35            <div id="flexItem2"></div>
     36        </div>
     37    </body>
     38 </html>