tor-browser

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

pre-wrap-001.html (918B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text level 3 Test: preserved white space at the end of and white-space:pre-wrap is not wrapped</title>
      4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
      6 <link rel="match" href="reference/pre-wrap-001-ref.html">
      7 <meta name="assert" content="preserved white space at the end of the line is not wrapped when the white-space property is set to pre-wrap">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10 div {
     11  font-size: 20px;
     12  font-family: Ahem;
     13  line-height: 1em;
     14  white-space: pre-wrap;
     15  color: green;
     16 
     17  background: linear-gradient(red, red) 0 0/2ch 2ch no-repeat;
     18 
     19  width: 4ch;
     20 }
     21 </style>
     22 <body>
     23  <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
     24  <div>XX    XX</div>
     25 </body>