initial-letter-block-position-raise-over-ruby-tall.html (1001B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Tests initial letter with over ruby overflow</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 <link rel="match" href="initial-letter-block-position-raise-over-ruby-tall-ref.html"> 10 <style> 11 .sample { 12 border: solid 1px green; 13 font-family: Ahem; 14 font-size: 20px; 15 line-height: 24px; 16 width: 230px; 17 } 18 19 rt { font-size: 80px; } 20 21 .initial-letter::first-letter { 22 initial-letter: 3 raise; 23 color: lime; 24 font-size: 100px; /* should be ignored in rendering */ 25 line-height: 50px; /* should be ignored in rendering */ 26 } 27 </style> 28 </head> 29 <body> 30 <div class="sample initial-letter"> 31 Abc <ruby>xyz<rt>X</rt></ruby><br>def<br>ghi<br>jkl<br>mno<br> 32 </div> 33 </body> 34 </html>