tor-browser

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

line-box-direction-vrl-006.xht (1898B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Writing Modes Test: 'float: left' and 'vertical-rl' - ordering direction of line boxes</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" title="3.1 Block Flow Direction: the writing-mode property" />
     11   <link rel="match" href="block-flow-direction-001-ref.xht" />
     12 
     13   <meta content="ahem" name="flags" />
     14   <meta content="This test checks that the line boxes of left-floated boxes with 'writing-mode' set to 'vertical-rl' will be ordered from right to left." name="assert" />
     15 
     16   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     17   <style type="text/css"><![CDATA[
     18   body
     19     {
     20       color: yellow;
     21       font: 20px/1 Ahem;
     22     }
     23 
     24   div.floated-left
     25     {
     26       background-color: blue;
     27       border-bottom: blue solid 1em;
     28       border-left: blue solid 1em;
     29       border-top: blue solid 1em;
     30       float: left;
     31       height: 7em; /* Each line box has an inline-size of 7em */
     32       writing-mode: vertical-rl;
     33     }
     34 
     35   div#right-border
     36     {
     37       border-right: blue solid 1em;
     38     }
     39   ]]></style>
     40  </head>
     41 
     42  <body>
     43 
     44 
     45   <div class="floated-left">
     46 
     47 <!-- The "P" --> eeee&nbsp;&nbsp; f&nbsp; g&nbsp;&nbsp; h&nbsp; j&nbsp;&nbsp; kkkkkkk
     48 
     49   </div>
     50 
     51   <div class="floated-left">
     52 
     53 <!-- The  "A" --> YYYYYYY Z&nbsp; a&nbsp;&nbsp; b&nbsp; c&nbsp;&nbsp; ddddddd
     54 
     55   </div>
     56 
     57   <div class="floated-left">
     58 
     59 <!-- The left-most "S" --> L&nbsp; MMMM Q&nbsp; R&nbsp; S T&nbsp; U&nbsp; V WWWW&nbsp; X
     60 
     61   </div>
     62 
     63   <div class="floated-left" id="right-border">
     64 
     65 <!-- The right-most "S" --> A&nbsp; BBBB C&nbsp; D&nbsp; E F&nbsp; G&nbsp; H JJJJ&nbsp; K
     66 
     67   </div>
     68 
     69  </body>
     70 </html>