float-in-rtl-vrl-1-ref.html (769B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Bug 1114329 testcase</title> 5 <style> 6 .vrl { 7 writing-mode: vertical-rl; 8 -webkit-writing-mode: vertical-rl; 9 writing-mode: tb-rl; 10 } 11 </style> 12 </head> 13 <body dir=rtl> 14 <div style="height:0px;width:0px;overflow:visible"> 15 <div style="height:100px;width:120px;background:rgba(0,255,0,0.8);display:inline-block;margin-top:200px;"></div> 16 </div> 17 <div style="height:0px;width:0px;overflow:visible"> 18 <div style="height:100px;width:150px;background:rgba(255,0,0,0.8);display:inline-block;margin-top:100px;"></div> 19 </div> 20 <div dir=ltr class="vrl" style="background:silver; height: calc(100vh - 16px);"> 21 <div style="height:100px;">This text should appear ABOVE the red and green blocks.</div> 22 </div> 23 </body> 24 </html>