tor-browser

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

word-spacing-applies-to-004.xht (1374B)


      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: Word-spacing application to 'display: run-in' element</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
      8         <meta name="flags" content="ahem" />
      9         <meta name="assert" content="The 'word-spacing' property applies to 'display: run-in' elements." />
     10         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11         <style type="text/css">
     12             div
     13             {
     14                 font: 16px/1em Ahem;
     15             }
     16             div div
     17             {
     18                 display: run-in;
     19                 word-spacing: 10em;
     20             }
     21             #div1
     22             {
     23                 background: blue;
     24                 height: 1em;
     25                 width: 22em;
     26             }
     27         </style>
     28     </head>
     29     <body>
     30         <p>Test passes if there are two black boxes below and the last black box ends when the blue box ends.</p>
     31         <div>
     32             <div>XXXXX XXXXXX</div>
     33         </div>
     34         <div id="div1"></div>
     35     </body>
     36 </html>