tor-browser

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

full-width-leading-spaces-003.html (909B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text level 3 Test: handling leading ideographic space sequence</title>
      4 <link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
      6 <link rel="match" href="reference/white-space-break-spaces-005-ref.html">
      7 <meta name="assert" content="An ideographic space (U+3000) sequence at the beginning of the line must not be collapsed.">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      9 <style>
     10 div { font: 50px/1 Ahem; }
     11 .test {
     12    width: 2em;
     13    color: green;
     14    background: green;
     15 }
     16 .ref {
     17    position: absolute;
     18    z-index: -1;
     19    color: red;
     20 }
     21 </style>
     22 
     23 <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
     24 <div class="ref">XX<br>XX</div>
     25 <div class="test">&#x3000;&#x3000;XX</div>