tor-browser

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

text-align-vlr-013.xht (1166B)


      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: 'text-align: center' - 'vertical-lr' and initial, default 'direction'</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/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes" />
     11   <link rel="match" href="text-align-vlr-009-ref.xht" />
     12 
     13   <meta content="ahem image" name="flags" />
     14 
     15   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     16   <style type="text/css"><![CDATA[
     17   div
     18     {
     19       color: green;
     20       font: 100px/1 Ahem; /* computes to 100px/100px */
     21       height: 300px;
     22       width: 200px;
     23     }
     24 
     25   div
     26     {
     27       background: red url("support/left-center-200x300.png");
     28       text-align: center;
     29       writing-mode: vertical-lr;
     30     }
     31   ]]></style>
     32  </head>
     33 
     34  <body>
     35 
     36   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     37 
     38   <div>C</div>
     39 
     40  </body>
     41 </html>