summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-vrl-4c.html
blob: 08a34370fc50e542ceabd353504ce8853ec2004e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!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: rtl;
}
</style>
</head>
<body>
 <div style="height:600px; margin-top:0; margin-bottom:auto;">
  <div dir="ltr" style="height:300px">
    <div style="height:100px;width:120px;background:rgba(0,255,0,0.8);float:right;"></div>
  </div>
  <div dir="ltr" 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>
 </div>
</body>
</html>