tor-browser

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

initial-letter-block-position-drop-under-ruby-tall-ref.html (980B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Tests initial letter with under ruby</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-block-position">
      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    }
     17 
     18    rt { font-size: 80px; }
     19    ruby { ruby-position: under; }
     20    .fake-initial-letter {
     21        background: lime;
     22        float: left;
     23        height: 80px;
     24        margin-top: 2px;
     25        width: 80px;
     26    }
     27 
     28    .surrounding { display:inline-block; margin-bottom: -2px; }
     29 </style>
     30 </head>
     31 <body>
     32 <div class="sample">
     33 <div class="fake-initial-letter"></div>
     34 <div class="surrounding">bc <ruby>xyz<rt>X</rt></ruby></div>
     35 def<br>ghi<br>jkl<br>mno<br>
     36 </div>
     37 </body>
     38 </html>