tor-browser

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

block-flow-direction-vlr-003.xht (3062B)


      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: vertical-lr - block flow direction of block-level 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 block-level boxes in a block formating context with 'writing-mode' set to 'vertical-lr' are laid out one after the other with the first beginning at the left-hand side of its containing block; they are ordered from left to right meaning that the 1st block box is the leftmost one and, then the 2nd block is juxtaposed at the right-hand side of 1st block, then the 3rd block is juxtaposed at the 2nd block on its right-hand side, etc... " name="assert" />
     15 
     16   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     17   <style type="text/css"><![CDATA[
     18   html
     19     {
     20       writing-mode: vertical-lr;
     21     }
     22   /*
     23   "
     24   The principal writing mode of the document is determined by the writing-mode
     25   and direction values specified on the root element.
     26   "
     27   */
     28 
     29   body
     30     {
     31       color: yellow;
     32       font: 20px/1 Ahem;
     33       height: 9em;
     34     }
     35 
     36   div
     37     {
     38       background-color: blue;
     39       border-bottom: blue solid 1em;
     40       border-top: blue solid 1em;
     41     }
     42 
     43   div.left-border
     44     {
     45       border-left: blue solid 1em;
     46     }
     47 
     48   div#right-border
     49     {
     50       border-right: blue solid 1em;
     51     }
     52   ]]></style>
     53  </head>
     54 
     55  <body>
     56 
     57 <!-- The 1st left-most line of "P" --> <div class="left-border">AAAAAAA</div>
     58 
     59 <!-- The 2nd left-most line of "P" --> <div>B&nbsp; C&nbsp;&nbsp; </div>
     60 
     61 <!-- The 3rd left-most line of "P" --> <div>D&nbsp; E&nbsp;&nbsp; </div>
     62 
     63 <!-- The 4th left-most line of "P" --> <div>FFFF&nbsp;&nbsp; </div>
     64 
     65 
     66 
     67 <!-- The left-most line of "A" --> <div class="left-border">GGGGGGG</div>
     68 
     69 <!-- The 2nd left-most line of "A" --> <div>H&nbsp; J&nbsp;&nbsp; </div>
     70 
     71 <!-- The 3rd left-most line of "A" --> <div>K&nbsp; L&nbsp;&nbsp; </div>
     72 
     73 <!-- The 4th left-most line of "A" --> <div>MMMMMMM</div>
     74 
     75 
     76 
     77 <!-- The 1st left-most line of left-most "S" --> <div class="left-border">NNNN&nbsp; Q</div>
     78 
     79 <!-- The 2nd left-most line of left-most "S" --> <div>R&nbsp; S&nbsp; T</div>
     80 
     81 <!-- The 3rd left-most line of left-most "S" --> <div>U&nbsp; V&nbsp; W</div>
     82 
     83 <!-- The 4th left-most line of left-most "S" --> <div>X&nbsp; YYYY</div>
     84 
     85 
     86 
     87 <!-- The left-most line of right-most "S" --> <div class="left-border">aaaa&nbsp; b</div>
     88 
     89 <!-- The 2nd left-most line of right-most "S" --> <div>c&nbsp; d&nbsp; e</div>
     90 
     91 <!-- The 3rd left-most line of right-most "S" --> <div>f&nbsp; g&nbsp; h</div>
     92 
     93 <!-- The 4th left-most line of right-most "S" --> <div id="right-border">j&nbsp; kkkk</div>
     94 
     95  </body>
     96 </html>