initial-letter-block-position-drop-under-ruby-ref.html (860B)
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 ruby { ruby-position: under; } 18 .fake-initial-letter { 19 background: lime; 20 float: left; 21 height: 80px; 22 margin-top: 2px; 23 width: 80px; 24 } 25 </style> 26 </head> 27 <body> 28 <div class="sample"> 29 <div class="fake-initial-letter"></div> 30 bc <ruby>xyz<rt>XYZ</rt></ruby><br>def<br>ghi<br>jkl<br>mno<br> 31 </div> 32 </body> 33 </html>