initial-letter-breaking-srl.html (1520B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Tests interaction with fragmentation in sideways-rl.</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-breaking"> 7 <meta name="flags" content="ahem"> 8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" > 9 <link rel="match" href="initial-letter-breaking-srl-ref.html"> 10 <style> 11 .sample { 12 border: solid 1px green; 13 font-family: Ahem; 14 font-size: 20px; 15 height: 230px; 16 line-height: 24px; 17 writing-mode: sideways-rl; 18 } 19 20 .float { 21 background: cyan; 22 clear: none; 23 float: left; 24 height: 50px; 25 width: 50px; 26 } 27 28 .mc { 29 columns: 2; 30 direction: ltr; 31 height: 500px; 32 writing-mode: sideways-rl; 33 } 34 35 .initial-letter::first-letter { 36 initial-letter: 3 drop; 37 color: lime; 38 font-size: 100px; /* should be ignored in rendering */ 39 line-height: 50px; /* should be ignored in rendering */ 40 } 41 </style> 42 </head> 43 <body> 44 <div class="mc"> 45 <div class="sample initial-letter">ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div> 46 <div class="sample initial-letter">ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div> 47 <div class="sample initial-letter">ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div> 48 </div> 49 </body> 50 </html>