tor-browser

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

initial-letter-raise-initial-slr-ref.html (1075B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Tests initial letter raise initial in sideways-lr</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-lr;
     17    }
     18 
     19    .fake-initial-letter {
     20        background: lime;
     21        display: inline-block;
     22        height: 80px;
     23        margin-left: 2px;
     24        margin-right: 8px;
     25        width: 80px;
     26    }
     27 
     28    .remainder {
     29        display: inline-block;
     30        vertical-align: top;
     31        position: relative;
     32        left: 48px;
     33        bottom: -20px;
     34    }
     35 </style>
     36 </head>
     37 <body>
     38 <div class="sample">
     39 <div class="fake-initial-letter"></div>
     40 <div class="remainder">bc<br>def</div>
     41 <div class="remainder2">ghi<br>jkl<br>mno</div>
     42 </div>
     43 </body>
     44 </html>