summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-vrl-3-ref.html
blob: b16ea15fb951f1dac8ff45453d30ed322d9464d2 (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
<!DOCTYPE html>
<html>
<head>
<title>Bug 1114329 testcase</title>
<style>
 .vrl {
   writing-mode: vertical-rl;
   -webkit-writing-mode: vertical-rl;
   writing-mode: tb-rl;
}
</style>
</head>
<body dir=rtl>
 <div style="height:600px;">
  <div style="height:0px;width:0px;overflow:visible">
    <div style="height:100px;width:120px;background:rgba(0,255,0,0.8);display:inline-block;margin-top:300px;"></div>
  </div>
  <div style="height:0px;width:0px;overflow:visible">
    <div style="height:100px;width:150px;background:rgba(255,0,0,0.8);display:inline-block;margin-top:400px;"></div>
  </div>
  <div dir=ltr class="vrl" style="background:silver; height: 100%;">
    <div style="padding-top:500px; direction:rtl">This text should appear BELOW the green and red blocks.</div>
  </div>
 </div>
</body>
</html>