vlr-text-orientation-sideways-alongside-vlr-floats-ref.html (897B)
1 <!DOCTYPE html> 2 <html> 3 <title>CSS Writing Modes Test Reference: positioning of a text-orientation:sideways block alongside vertical-lr floats</title> 4 5 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 6 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 7 8 <style> 9 html { 10 writing-mode: vertical-lr; 11 } 12 13 div { 14 block-size: 100px; 15 } 16 17 div#first-olive-float { 18 background-color: olive; 19 float: left; 20 inline-size: 50%; 21 } 22 23 div#second-blue-float-with-clear { 24 background-color: blue; 25 clear: left; 26 float: left; 27 inline-size: 25%; 28 } 29 30 div#orange-bfc { 31 background-color: orange; 32 inline-size: 75%; 33 writing-mode: vertical-lr; 34 } 35 </style> 36 37 <body> 38 <div id="first-olive-float"> </div> 39 <div id="second-blue-float-with-clear"> </div> 40 <div id="orange-bfc"> </div> 41 </body> 42 </html>