tor-browser

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

text-underline-offset-vertical-001.html (1074B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <meta charset="utf-8">
      5    <title>Test case for text-underline-offset</title>
      6    <meta name="assert" content="text-underline-offset should influence the placement of the underline">
      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/#underline-offset">
     10    <link rel="match" href="reference/text-underline-offset-vertical-001-ref.html">
     11    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12    <style>
     13        span{
     14            margin-left: 5em;
     15            font: 20px/1 Ahem;
     16            color: transparent;
     17            writing-mode: vertical-lr;
     18            text-decoration: green underline;
     19            text-decoration-skip-ink: none;
     20            text-underline-offset: 5em;
     21        }
     22    </style>
     23 </head>
     24 <body>
     25    <div>Test passes if the underline is vertical and close to the word left</div>
     26    <div>left<span>XXXXX</span></div>
     27 </body>
     28 </html>