tor-browser

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

pre-wrap-tab-003.html (897B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text level 3 Test: no wrapping opportunity between pre-wrap tabs</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-1">
      6 <link rel="match" href="reference/pre-wrap-001-ref.html">
      7 <meta name="assert" content="There is a wrapping opportunity at the end of a sequence of tabs with white-space:pre-wrap, but not between or before each tab.">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10 div {
     11  font: 20px/1 Ahem;
     12 }
     13 #test {
     14  white-space: pre-wrap;
     15  color: green;
     16  width: 2ch;
     17 }
     18 #ref {
     19  color: red;
     20  position: absolute;
     21  z-index:-1;
     22 }
     23 </style>
     24 
     25 <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
     26 <div id=ref>XX<br>XX</div>
     27 <div id=test>XX&#x09;&#x09;XX</div>