initial-letter-indentation-rtl.html (972B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Tests initial letter indentation in RTL</title> 5 <link rel="author" title="Google LLC" href="https://www.google.com/"> 6 <link rel="help" href="https://drafts.csswg.org/css-inline/#indentation"> 7 <meta name="flags" content="ahem"> 8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" > 9 <link rel="match" href="initial-letter-indentation-rtl-ref.html"> 10 <style> 11 .sample { 12 border: solid 1px green; 13 direction: rtl; 14 font-family: Ahem; 15 font-size: 20px; 16 line-height: 24px; 17 width: 230px; 18 } 19 20 .initial-letter::first-letter { 21 initial-letter: 3 drop; 22 color: lime; 23 font-size: 100px; /* should be ignored in rendering */ 24 line-height: 50px; /* should be ignored in rendering */ 25 } 26 .sample { 27 text-indent: 10px; 28 } 29 </style> 30 </head> 31 <body> 32 <div class="sample initial-letter"> 33 Abc<br>def<br>ghi<br>jkl<br>mno<br> 34 </div> 35 </body> 36 </html>