tor-browser

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

text-decoration-skip-ink-vertical-002.html (1330B)


      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: no underline should be rendered for transparent Ahem text">
      7        <link rel="author" title="Charlie Marlow" href="cmarlow@mozilla.com">
      8        <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      9        <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-ink-property">
     10        <link rel="match" href="reference/text-decoration-skip-ink-002-ref.html">
     11        <link rel="mismatch" href="reference/text-decoration-skip-ink-vertical-002-notref.html">
     12        <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
     13        <style>
     14           /*
     15            No underline should be rendered for Ahem text
     16            with skip-ink enabled
     17           */
     18          div{
     19                 font: 20px/1 Ahem;
     20                 color: transparent;
     21                 text-decoration-skip-ink: auto;
     22                 text-decoration: green underline;
     23                 text-underline-offset: -0.2em;
     24                 writing-mode: vertical-lr;
     25           }
     26        </style>
     27    </head>
     28    <body>
     29        <p>Test passes if no underline is visible</p>
     30        <div>XXXX</div>
     31    </body>
     32 </html>