tor-browser

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

vrl-text-orientation-sideways-alongside-vrl-floats.html (1468B)


      1 <!DOCTYPE html>
      2 <html>
      3  <title>CSS Writing Modes Test: positioning of a text-orientation:sideways block alongside vertical-rl 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  <link rel="help" href="https://drafts.csswg.org/css-writing-modes/#block-flow" title="3.2. Block Flow Direction: the writing-mode property">
      8  <link rel="match" href="vrl-text-orientation-sideways-alongside-vrl-floats-ref.html">
      9 
     10  <!-- This test is adapted from Gérard Talbot's "ortho-htb-alongside-vrl-floats-014.xht" -->
     11 
     12  <meta content="This test verifies that the orange block box, which should not create a new block formatting context, should flow next to the first float." name="assert">
     13 
     14  <style>
     15  html {
     16    writing-mode: vertical-rl;
     17  }
     18 
     19  div {
     20    block-size: 100px;
     21  }
     22 
     23  div#first-olive-float {
     24    background-color: olive;
     25    float: left;
     26    inline-size: 50%;
     27  }
     28 
     29  div#second-blue-float-with-clear {
     30    background-color: blue;
     31    clear: left;
     32    float: left;
     33    inline-size: 25%;
     34  }
     35 
     36  div#orange-bfc {
     37    background-color: orange;
     38    inline-size: 75%;
     39    writing-mode: vertical-rl;
     40    text-orientation: sideways; /* Should not create block formatting context */
     41  }
     42  </style>
     43 
     44  <body>
     45    <div id="first-olive-float">&nbsp;</div>
     46    <div id="second-blue-float-with-clear">&nbsp;</div>
     47    <div id="orange-bfc">&nbsp;</div>
     48  </body>
     49 </html>