tor-browser

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

white-space-processing-013.xht (1242B)


      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: White-space 'pre-wrap' and line opportunity with sequence of 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#white-space-model" />
      7         <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-1" />
      8         <link rel="match" href="white-space-processing-013-ref.xht" />
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="A line breaking opportunity is introduced at the end of a sequence of spaces when 'white-space' is set to 'pre-wrap'." />
     11         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12         <style type="text/css">
     13             div
     14             {
     15                 font-family: Ahem;
     16                 line-height: 1em;
     17                 white-space: pre-wrap;
     18                 width: 5em;
     19             }
     20         </style>
     21     </head>
     22     <body>
     23         <p>Test passes if there is one box below.</p>
     24         <div>XX&#32;&#32;&#32;XX</div>
     25     </body>
     26 </html>