tor-browser

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

initial-letter-layout-text-decoration-underline-ref.html (1146B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Tests initial letter with text-decoration</title>
      5 <link rel="author" title="Google LLC" href="https://www.google.com/">
      6 <link rel="help" href="https://drafts.csswg.org/css-inline/#initial-letter-layout">
      7 <meta name="flags" content="ahem">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" >
      9 <style>
     10    .sample {
     11        border: solid 1px green;
     12        font-family: Ahem;
     13        font-size: 20px;
     14        line-height: 24px;
     15        width: 230px;
     16        color: transparent;
     17        text-decoration-color: black;
     18        text-decoration-line: underline;
     19        text-decoration-skip-ink: none;
     20        text-decoration-thickness: 1px;
     21    }
     22 
     23    .fake-initial-letter {
     24        background: transparent;
     25        float: left;
     26        height: 80px;
     27        margin-top: 2px;
     28        width: 80px;
     29    }
     30 
     31    .fake-underline {
     32        background: black;
     33        width: 80px;
     34        height: 1px;
     35        margin-top: 65px;
     36    }
     37 </style>
     38 </head>
     39 <body>
     40 <div class="sample">
     41 <div class="fake-initial-letter"><div class="fake-underline"></div></div>
     42 bc<br>def<br>ghi<br>jkl<br>mno<br>
     43 </div>
     44 </body>
     45 </html>