tor-browser

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

content-172.xht (1649B)


      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: Generated Content: \A and white-space</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/content/002.html" type="text/html"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
      8   <link rel="match" href="content-172-ref.xht" />
      9 
     10   <style type="text/css">
     11    /* Setup */
     12    td { font: 1em/1em monospace; border: solid; }
     13    .normal div { white-space: normal; }
     14    .pre div { white-space: pre; }
     15    .nowrap div { white-space: nowrap; }
     16    :before, :after { white-space: inherit; /* this isn't a cascade test */ }
     17 
     18    /* Test */
     19    .test:before { content: 'XXX\A    XXX\A       '; }
     20    .test:after { content: 'XXX'; }
     21   </style>
     22  </head>
     23  <body>
     24 
     25   <p>The following two columns should be pixel-perfect identical (the
     26   first two rows should just be rows of Xs, the last row should be
     27   a step pattern):</p>
     28 
     29   <table>
     30    <thead>
     31     <tr>
     32      <th> Test </th>
     33      <th> Control </th>
     34     </tr>
     35    </thead>
     36    <tbody>
     37     <tr class="normal">
     38      <td>
     39 <div class="test"></div>
     40      </td>
     41      <td>
     42 <div>XXX
     43    XXX
     44       XXX</div>
     45      </td>
     46     </tr>
     47     <tr class="nowrap">
     48      <td>
     49 <div class="test"></div>
     50      </td>
     51      <td>
     52 <div>XXX
     53    XXX
     54       XXX</div>
     55      </td>
     56     </tr>
     57     <tr class="pre">
     58      <td>
     59 <div class="test"></div>
     60      </td>
     61      <td>
     62 <div>XXX
     63    XXX
     64       XXX</div>
     65      </td>
     66     </tr>
     67    </tbody>
     68   </table>
     69  </body>
     70 </html>