tor-browser

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

text-decoration-skip-ink-upright-002.html (1247B)


      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-upright-002-notref.html">
     12        <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
     13        <style>
     14           div{
     15                font: 20px/1 Ahem;
     16                text-decoration: green underline;
     17                text-decoration-skip-ink: auto;
     18                color: transparent;
     19                text-underline-offset: -0.5em;
     20                writing-mode: vertical-rl;
     21                text-orientation: upright;
     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>