tor-browser

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

block-flow-direction-slr-055.xht (1865B)


      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' - 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-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 an inline-block with its 'writing-mode' set to 'sideways-lr'
     15  establishes a block formating context with a left-to-right block flow direction." name="assert" />
     16 
     17   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     18   <style type="text/css"><![CDATA[
     19   body
     20     {
     21       color: yellow;
     22       font: 20px/1 Ahem;
     23     }
     24 
     25   div#inline-block
     26     {
     27       background-color: blue;
     28       border-bottom: blue solid 1em;
     29       display: inline-block;
     30       height: 8em;
     31       writing-mode: sideways-lr;
     32     }
     33 
     34   span
     35     {
     36       border-left: blue solid 1em;
     37       display: block;
     38     }
     39 
     40   span#right-border
     41     {
     42       border-right: blue solid 1em;
     43     }
     44   ]]></style>
     45  </head>
     46 
     47  <body>
     48 
     49   <div>
     50 
     51     <div id="inline-block">
     52 
     53 <!-- The "P" --> <span>AAAAAAA &nbsp;&nbsp; B &nbsp;C &nbsp;&nbsp; D &nbsp;E &nbsp;&nbsp; FFFF</span>
     54 
     55 <!-- The "A" --> <span>GGGGGGG &nbsp;&nbsp; H &nbsp;J &nbsp;&nbsp; K &nbsp;L MMMMMMM</span>
     56 
     57 <!-- The left-most "S" --> <span>N&nbsp; QQQQ R&nbsp; S&nbsp; T U&nbsp; V&nbsp; W XXXX &nbsp;Y</span>
     58 
     59 <!-- The right-most "S" --> <span id="right-border">a&nbsp; bbbb c&nbsp; d&nbsp; e f&nbsp; g&nbsp; h jjjj &nbsp;k</span>
     60 
     61     </div>
     62 
     63   </div>
     64 
     65  </body>
     66 </html>