tor-browser

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

initial-letter-raise-initial-srl-ref.html (1012B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Tests initial letter raise initial in sideways-rl</title>
      5 <link rel="author" title="Google LLC" href="https://www.google.com/">
      6 <link rel="help" href="https://drafts.csswg.org/css-inline/#raise-initial">
      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        height: 230px;
     15        line-height: 24px;
     16        writing-mode: sideways-rl;
     17    }
     18 
     19    .fake-initial-letter {
     20        background: lime;
     21        display: inline-block;
     22        height: 80px;
     23        margin-left: 8px;
     24        margin-right: 2px;
     25        width: 80px;
     26    }
     27 
     28    .remainder {
     29        display: inline-block;
     30        vertical-align: bottom;
     31        margin-top: -20px;
     32    }
     33 </style>
     34 </head>
     35 <body>
     36 <div class="sample">
     37 <div class="fake-initial-letter"></div>
     38 <div class="remainder">bc<br>def</div><br>
     39 ghi<br>jkl<br>mno<br>
     40 </div>
     41 </body>
     42 </html>