summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-vlr-2d.html
blob: fafaa1e918f47daf3faf2a83e2ae6e6c63093ba3 (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 class="vlr">
<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 dir="rtl" style="inline-size:-moz-fit-content">
    <div style="height:300px">
      <div style="height:100px;width:120px;background:rgba(0,255,0,0.8);float:left;"></div>
    </div>
    <div style="height:200px">
      <div style="height:100px;width:150px;background:rgba(255,0,0,0.8);float:left;"></div>
    </div>
  </div>
  <div style="background:silver">
This text should appear BELOW the green and red blocks.
  </div>
</body>
</html>