tor-browser

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

text-underline-offset-vertical-003.html (1039B)


      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 work when the underline is on the right side">
      7    <link rel="author" title="Dominik Röttsches" href="mailto:drott@chromium.org">
      8    <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#underline-offset">
      9    <link rel="match" href="reference/text-underline-offset-vertical-003-ref.html">
     10    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11    <style>
     12        span{
     13            font: 20px/1 Ahem;
     14            color: transparent;
     15            writing-mode: vertical-lr;
     16            text-decoration: green underline;
     17            text-decoration-skip-ink: none;
     18            text-underline-offset: 5em;
     19            text-underline-position: right;
     20        }
     21    </style>
     22 </head>
     23 <body>
     24    <div>Test passes if the underline is vertical and at about a 5em margin from the left side.</div>
     25    <div><span>XXXXX</span></div>
     26 </body>
     27 </html>