tor-browser

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

text-decoration-skip-ink-005.html (1204B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <meta charset="utf-8">
      5        <title>Test case for text-decoration-skip-ink</title>
      6        <meta name="assert" content="text-decoration-skip-ink: all causes skipping even for CJK">
      7        <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      8        <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-ink-property">
      9        <link rel="mismatch" href="reference/text-decoration-skip-ink-005-notref.html">
     10        <style>
     11         @font-face {
     12             font-family: mplus;
     13             src: url(/fonts/mplus-1p-regular.woff) format("woff");
     14         }
     15         div{
     16             font: 50px mplus, sans-serif;
     17             color: #00008080;
     18             letter-spacing: 10px;
     19             /* make sure the underline clashes badly with the glyphs! */
     20             text-decoration: green underline;
     21             text-underline-offset: -3px;
     22             text-decoration-thickness: 3px;
     23             text-decoration-skip-ink: all;
     24         }
     25        </style>
     26    </head>
     27    <body>
     28        <p>Test passes if the underline skips the glyphs in the text below</p>
     29        <div>中文</div>
     30    </body>
     31 </html>