initial-letter-breaking-slr-ref.html (1450B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Tests interaction with fragmentation in sideways-lr.</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 <style> 10 .sample { 11 border: solid 1px green; 12 font-family: Ahem; 13 font-size: 20px; 14 height: 230px; 15 line-height: 24px; 16 writing-mode: sideways-lr; 17 } 18 19 .float { 20 background: cyan; 21 clear: none; 22 float: left; 23 height: 50px; 24 width: 50px; 25 } 26 27 .mc { 28 columns: 2; 29 direction: ltr; 30 height: 500px; 31 writing-mode: sideways-lr; 32 } 33 34 .fake-initial-letter { 35 background: lime; 36 float: left; 37 height: 80px; 38 margin-left: 2px; 39 width: 80px; 40 } 41 </style> 42 </head> 43 <body> 44 <div class="mc"> 45 <div class="sample"><div class="fake-initial-letter"></div>BC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div> 46 <div class="sample"><div class="fake-initial-letter"></div>BC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div> 47 <div class="sample"><div class="fake-initial-letter"></div>BC 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>