tor-browser

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

baseline-inline-non-replaced-004.xht (1378B)


      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: baseline-alignment of non-empty non-replaced inline-block element and 'vertical-rl'</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/#replaced-baselines" title="4.3 Atomic Inline Baselines" />
     11   <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
     12 
     13   <meta content="ahem" name="flags" />
     14   <meta content="This test checks that the baseline-alignment of a non-empty inline-block box in the line box with 'writing-mode' set to 'vertical-rl' is 'central' and not 'alphabetic'." name="assert" />
     15 
     16   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     17   <style type="text/css"><![CDATA[
     18   div
     19     {
     20       background-color: red;
     21       color: green;
     22       font: 50px/1 Ahem; /* computes to 50px/50px */
     23       height: 2em; /* computes to 100px */
     24       writing-mode: vertical-rl;
     25     }
     26 
     27   span
     28     {
     29       display: inline-block;
     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>
     39     <span>FZ</span>
     40     TL
     41   </div>
     42 
     43  </body>
     44 </html>