tor-browser

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

word-spacing-remove-space-002.xht (1519B)


      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 non-breaking 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-002-ref.xht"/>
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="The white space processing removes non-breaking space before 'word-spacing' is applied." />
     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             }
     21             #div2, #div3
     22             {
     23                 background: black;
     24                 display: inline-block;
     25                 height: 1em;
     26                 width: 1em;
     27             }
     28             #div3
     29             {
     30                 margin-left: 12em;
     31             }
     32         </style>
     33     </head>
     34     <body>
     35         <p>Test passes if there are only two boxes below.</p>
     36         <div id="div1">X&nbsp; &nbsp; X</div>
     37         <div id="div2"></div><div id="div3"></div>
     38     </body>
     39 </html>