summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-vlr-1-ref.html
blob: ec15eff4f500b8f60d98f199fdfa762caba1476d (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
<!DOCTYPE html>
<html>
<head>
<title>Bug 1114329 testcase</title>
<style>
 .vlr {
   writing-mode: vertical-lr;
   -webkit-writing-mode: vertical-lr;
   writing-mode: tb-lr;
}
</style>
</head>
<body>
  <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:200px;"></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:100px;"></div>
  </div>
  <div class="vlr" style="background:silver; height: calc(100vh - 16px);">
    <div style="height:100px;">This text should appear ABOVE the red and green blocks.</div>
  </div>
</body>
</html>