tor-browser

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

word-spacing-remove-space-006.xht (1567B)


      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 and white space with multiple preserved spaces</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#spacing-props" />
      7         <link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
      8         <link rel="match" href="word-spacing-remove-space-006-ref.xht"/>
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="Any ideographic space left after white-space processing model occurs, has word-spacing applied to it." />
     11         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12         <style type="text/css">
     13             div
     14             {
     15                 font: 16px/1em Ahem;
     16             }
     17             #div1
     18             {
     19                 word-spacing: 2em;
     20                 white-space: pre;
     21             }
     22             #div2, #div3
     23             {
     24                 background: black;
     25                 display: inline-block;
     26                 height: 1em;
     27                 width: 1em;
     28             }
     29             #div3
     30             {
     31                 margin-left: 8em;
     32             }
     33         </style>
     34     </head>
     35     <body>
     36         <p>Test passes if there are only two boxes below.</p>
     37         <div id="div1">X&#x3000;  &#x3000;X</div>
     38         <div id="div2"></div><div id="div3"></div>
     39     </body>
     40 </html>