tor-browser

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

line-box-direction-slr-054.xht (2931B)


      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: inline-block and 'sideways-lr' - 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-4/#writing-mode" 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 lines boxes of descendant block boxes of inline-blocks with 'writing-mode' set to 'sideways-lr' are ordered from left to right." 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.inline-block
     25     {
     26       background-color: blue;
     27       border-bottom: blue solid 1em;
     28       border-left: blue solid 1em;
     29       display: inline-block;
     30       height: 8em;
     31       vertical-align: top;
     32   /*
     33   Why 'vertical-align: top' ?
     34   See
     35   http://lists.w3.org/Archives/Public/public-css-testsuite/2014Dec/0013.html
     36   for explanations
     37   */
     38       writing-mode: sideways-lr;
     39     }
     40 
     41   span
     42     {
     43       display: block;
     44     }
     45 
     46   span#right-border
     47     {
     48       border-right: blue solid 1em;
     49     }
     50   ]]></style>
     51  </head>
     52 
     53  <body>
     54 
     55   <div>
     56 
     57     <div class="inline-block">
     58 
     59 <!-- The 1st left-most line of "P" --> <span>AAAAAAA</span>
     60 
     61 <!-- The 2nd left-most line of "P" --> <span>&nbsp;&nbsp;&nbsp;B &nbsp;C</span>
     62 
     63 <!-- The 3rd left-most line of "P" --> <span>&nbsp;&nbsp;&nbsp;D &nbsp;E</span>
     64 
     65 <!-- The 4th left-most line of "P" --> <span>&nbsp;&nbsp;&nbsp;FFFF</span>
     66 
     67     </div><div class="inline-block">
     68 
     69 <!-- The left-most line of "A" --> <span>GGGGGGG</span>
     70 
     71 <!-- The 2nd left-most line of "A" --> <span>&nbsp;&nbsp;&nbsp;H &nbsp;J</span>
     72 
     73 <!-- The 3rd left-most line of "A" --> <span>&nbsp;&nbsp;&nbsp;K &nbsp;L</span>
     74 
     75 <!-- The 4th left-most line of "A" --> <span>MMMMMMM</span>
     76 
     77     </div><div class="inline-block">
     78 
     79 <!-- The 1st left-most line of left-most "S" --> <span>N&nbsp; QQQQ</span>
     80 
     81 <!-- The 2nd left-most line of left-most "S" --> <span>R&nbsp; S&nbsp; T</span>
     82 
     83 <!-- The 3rd left-most line of left-most "S" --> <span>U&nbsp; V&nbsp; W</span>
     84 
     85 <!-- The 4th left-most line of left-most "S" --> <span>XXXX &nbsp;Y</span>
     86 
     87     </div><div class="inline-block">
     88 
     89 <!-- The left-most line of right-most "S" --> <span>a&nbsp; bbbb</span>
     90 
     91 <!-- The 2nd left-most line of right-most "S" --> <span>c&nbsp; d&nbsp; e</span>
     92 
     93 <!-- The 3rd left-most line of right-most "S" --> <span>f&nbsp; g&nbsp; h</span>
     94 
     95 <!-- The 4th left-most line of right-most "S" --> <span id="right-border">jjjj &nbsp;k</span>
     96 
     97     </div>
     98 
     99   </div>
    100 
    101  </body>
    102 </html>