tor-browser

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

white-space-nowrap-001.xht (1303B)


      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 nowrap: basic test</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/nowrap/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-nowrap-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    .top { font: 20px/1 Ahem; }
     17    .outer { width: 10em; background: red; }
     18    .inner { width: 7em; color: lime; background: green; white-space: nowrap; }
     19   </style>
     20  </head>
     21  <body>
     22   <p>Test passes if there is a bright green stripe with a green square in it.</p>
     23   <div class="top">
     24    <div class="outer">
     25     <div class="inner">
     26      xxx xxxxxx
     27     </div>
     28    </div>
     29   </div>
     30  </body>
     31 </html>