<!DOCTYPE html> <html class="vrl"> <head> <title>Bug 1114329 testcase</title> <style> .vrl { writing-mode: vertical-rl; -webkit-writing-mode: vertical-rl; writing-mode: tb-rl; direction: ltr; } </style> </head> <body> <div style="height:300px" dir="rtl"> <div style="height:100px;width:120px;background:rgba(0,255,0,0.8);float:right;"></div> </div> <div style="height:200px"> <div style="height:100px;width:150px;background:rgba(255,0,0,0.8);float:right;"></div> </div> <div style="background:silver"> This text should appear ABOVE the red and green blocks. </div> </body> </html>