initial-letter-with-tab-rtl-ref.html (976B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Tests initial letter should handle tabular character</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-styling"> 7 <meta name="flags" content="ahem"> 8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" > 9 <style> 10 .sample { 11 direction: rtl; 12 font-family: Ahem; 13 font-size: 20px; 14 line-height: 24px; 15 } 16 17 .fake-initial-letter { 18 background: lime; 19 float: right; 20 height: 80px; 21 margin-top: 2px; 22 width: 80px; 23 } 24 25 .fake-initial-letter-tab { 26 background: yellow; 27 float: right; 28 height: 80px; 29 margin-top: 2px; 30 width: 160px; 31 } 32 </style> 33 </head> 34 <body> 35 <div class="sample"><div class="fake-initial-letter-tab"></div> 36 <div class="fake-initial-letter"></div> 37 bc<br>def<br>ghi<br>jkl<br>mno<br> 38 </div> 39 </body> 40 </html>