tor-browser

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

white-space-normal-001.xht (2199B)


      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-29 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/normal/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-phase-2" />
     10   <link rel="match" href="white-space-normal-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    * { white-space: normal; }
     17    div { display: block; }
     18    span { display: inline; }
     19    table { padding: 0; border-spacing: 0; border: solid; }
     20    td { font: 20px/1 Ahem; color: red; background: red; padding: 0; }
     21    .red { background: red; }
     22    .green { color: green; background: lime; }
     23    .check { width: 3em; background: lime; color: green; }
     24   </style>
     25  </head>
     26  <body>
     27   <p>Test passes if there is a rectangle with 3 columns (1 dark green, 1 light green and then 1 dark green) and if there is <strong>no red</strong>.</p>
     28   <table>
     29    <tr>
     30     <td>
     31      <div class="red"> </div>
     32      <div class="red"> <div></div></div>
     33      <div class="red"> <div> </div></div>
     34      <div class="red"><div> </div></div>
     35      <div class="red"><div> </div> </div>
     36      <div class="red"><div></div> </div>
     37      <div class="red"> <div></div> </div>
     38      <div class="red"> <div> </div> </div>
     39      <div class="green"><span>X</span> <span>X</span></div>
     40      <div class="green"> <span>X</span> <span>X</span></div>
     41      <div class="green"><span>X</span> <span>X</span> </div>
     42      <div class="green"> <div></div> <span>X</span> <span>X</span> </div>
     43      <div class="green"> <span>X</span> <span>X</span> <div></div> </div>
     44      <div class="check">X X</div>
     45     </td>
     46    </tr>
     47   </table>
     48  </body>
     49 </html>