tor-browser

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

text-decoration-skip-spaces-001.html (1445B)


      1 <!DOCTYPE html>
      2 <html lang=en>
      3 <meta charset="utf-8">
      4 <title>Decoration skipping spaces: spacers</title>
      5 <meta name="assert" content="underlining of spacers get skipped at the start/end of the line.">
      6 <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-spaces-property">
      7 <link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#line-decoration">
      8 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
      9 <link rel="match" href="reference/text-decoration-skip-spaces-001-ref.html">
     10 <style>
     11 div {
     12    /* Use separate longhands
     13       as Safari does not support the full syntax of the text-decoration shorthand
     14       at the time of writing,
     15       but that's not what we're testing here.
     16     */
     17    text-decoration: underline;
     18    text-decoration-color: blue;
     19 
     20    text-decoration-skip-spaces: start end; /* Theoretically not needed, as that's the default behavior per L3 */
     21    color: orange;
     22    font-size: 2em;
     23 }
     24 </style>
     25 
     26 <p>
     27    Test passes if there is an blue underline below orange letters A through F below, <em>but no further</em>.<br>
     28    (Note: a small orange line to the left of A and the right of “F” is OK.)
     29 
     30 <div>&#x2000;&#x2001;&#x2002;&#x2003;&#x2004;&#x2005;&#x2006;&#x2007;&#x2008;&#x2009;&#x200a;&#x205f;&#x3000;&#x1680;&nbsp; ABCDEF &nbsp;&#x1680;&#x2000;&#x2001;&#x2002;&#x2003;&#x2004;&#x2005;&#x2006;&#x2007;&#x2008;&#x2009;&#x200a;&#x205f;&#x3000;</div>