tor-browser

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

pre-line-052.html (909B)


      1 <!DOCTYPE html>
      2 
      3  <meta charset="UTF-8">
      4 
      5  <title>CSS Text: inline starting with a collapsible white space</title>
      6 
      7  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
      8  <link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-phase-2">
      9  <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
     10  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
     11 
     12  <style>
     13  div
     14    {
     15      background-color: red;
     16      color: green;
     17      display: inline-block;
     18      font-family: Ahem;
     19      font-size: 50px;
     20      line-height: 1;
     21     }
     22 
     23  span#pre-line
     24    {
     25      white-space: pre-line;
     26    }
     27  </style>
     28 
     29  <p>Test passes if there is a filled green square and <strong>no red</strong>.
     30 
     31  <div><span id="pre-line">AB&NewLine;</span><span> CD</span></div>
     32 
     33 <!--
     34 
     35  &NewLine; == Line feed == &#x000A; == &#0010;
     36 
     37 -->