tor-browser

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

white-space-pre-001.xht (1295B)


      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: simple tests</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-29 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/pre/001.html" type="text/html"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model" />
      9   <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-property" />
     10   <link rel="match" href="white-space-pre-001-ref.xht" />
     11 
     12   <meta name="flags" content="ahem" />
     13 
     14   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     15   <style type="text/css">
     16    pre { white-space: pre; font: 1.25em/1 Ahem; background: green; color: lime; }
     17   </style>
     18  </head>
     19  <body>
     20   <p>Test passes if the word PASS is drawn and if there is <strong>no red</strong>.</p>
     21   <table><tr><td>
     22    <pre>
     23  xxxx xxxx xxxx xxxx
     24  x  x x  x x    x
     25  xxxx xxxx xxxx xxxx
     26  x    x  x    x    x
     27  x    x  x xxxx xxxx
     28                      </pre>
     29   </td></tr></table>
     30  </body>
     31 </html>