tor-browser

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

inline-formatting-context-016.xht (990B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Line box distribution with the 'text-align' property</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting" />
      7         <meta name="assert" content="When the inline box is wider than the line boxes the 'text-align' property is used to align the line boxes." />
      8         <style type="text/css">
      9             div
     10             {
     11                 border: solid black;
     12                 text-align: right;
     13                 width: 200px;
     14             }
     15         </style>
     16     </head>
     17     <body>
     18         <p>Test passes if the "Filler Text" is aligned to the right side of the box.</p>
     19         <div>
     20             <span>Filler Text</span><span>Filler Text</span>
     21         </div>
     22     </body>
     23 </html>