tor-browser

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

white-space-collapsing-005.xht (1465B)


      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 normal: 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-28 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/normal/collapsing/none/002.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-phase-1" />
     10   <link rel="match" href="white-space-collapsing-004-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    .test { font: 2.5em/1 Ahem; color: teal; background: aqua; white-space: normal; width: 3em; border: solid black; }
     17    .test span { display: none; color: red; background: maroon; }
     18    em { background: red; }
     19   </style>
     20  </head>
     21  <body>
     22   <p>Test passes if there are 2 identical bicolored rectangles and <strong>no red</strong>.</p>
     23   <p class="test">X X</p>
     24   <p class="test">
     25     X <em>
     26     <span>FAIL</span>
     27     <span>FAIL</span>
     28     <span>FAIL</span>
     29     <span>FAIL</span>
     30     <span>FAIL</span>
     31     </em>X
     32   </p>
     33  </body>
     34 </html>