tor-browser

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

text-decoration-skip-ink-002.html (1139B)


      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 is rendered for transparent Ahem font">
      7        <link rel="author" title="Charlie Marlow" href="mailto: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="stylesheet" type="text/css" href="/fonts/ahem.css">
     12        <style>
     13         /*
     14            No underline should be rendered for Ahem text when
     15            text-decoration-skip-ink is applied.
     16          */
     17         div{
     18             font: 20px/1 Ahem;
     19             text-decoration: green underline;
     20             text-decoration-skip-ink: auto;
     21             color: transparent;
     22         }
     23        </style>
     24    </head>
     25    <body>
     26        <p>Test passes if no underline is visible</p>
     27        <div>XXXX</div>
     28    </body>
     29 </html>