tor-browser

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

slr-alongside-vlr-floats-ref.html (1232B)


      1 <!DOCTYPE html>
      2 <html>
      3  <title>CSS Writing Modes Test Reference: positioning of a sideways-lr block alongside vertical-lr floats</title>
      4 
      5  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      6  <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      7  <meta content="image" name="flags">
      8 
      9  <style>
     10  html {
     11    writing-mode: vertical-lr;
     12  }
     13 
     14  div {
     15    block-size: 100px;
     16  }
     17 
     18  div#first-olive-float {
     19    background-color: olive;
     20    float: left;
     21    inline-size: 50%;
     22  }
     23 
     24  div#second-blue-float-with-clear {
     25    background-color: blue;
     26    clear: left;
     27    float: left;
     28    inline-size: 25%;
     29  }
     30 
     31  div#orange-bfc {
     32    background-color: orange;
     33    inline-size: 75%;
     34    display: flow-root; /* Establishes a block formatting context */
     35  }
     36  </style>
     37 
     38  <body>
     39    <p><img src="support/ortho-htb-alongside-vrl-floats-002-exp-res.png" width="300" height="36" alt="Image download support must be enabled"></p>
     40    <!--
     41         The image says:
     42         Test passes if the orange rectangle
     43         is below the blue rectangle.
     44    -->
     45 
     46    <div id="first-olive-float">&nbsp;</div>
     47    <div id="second-blue-float-with-clear">&nbsp;</div>
     48    <div id="orange-bfc">&nbsp;</div>
     49  </body>
     50 </html>