summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-slr-1c.html
blob: 41e3be793d94fd3594a2f27adc7fa7cd1df15b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html class="slr">
<head>
<style>
.slr {
   writing-mode: sideways-lr;
}
</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" dir="rtl">
    <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 BELOW the red and green blocks.
  </div>
</body>
</html>