summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/abspos/1183431-orthogonal-modes-5-ref.html
blob: cf0b18aca1209e8789a94ca7df445d8d192fa72d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<style>
body>div { margin: 50px 20px; width: 100px; height: 150px; border: 5px solid blue; }
.abc { display: inline-block; border: 2px solid red; inline-size: 30px;
       position: absolute; right: 0; top: 0; }
.test { writing-mode: vertical-rl; background: #aaa;
        position: absolute; right: 0; top: 0; width: 2em; height: 100%; }
.rel { position: relative; }
img { position: absolute; right: 0; top: 34px;
      background: green; border: 5px solid yellow; }
</style>
<body>
<div class="rel">
  <div class="test"><span class="abc">abc</span><img src="blue-32x32.png"></div>
</div>