summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/abspos/1183431-orthogonal-modes-4c.html
blob: edc8b870e42d14a3e5c0525db37399a3624c95ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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; }
.test { background: #aaa; width: 2em; }
.vrl { writing-mode: vertical-rl; }
.rel { position: relative; }
img { position: absolute; width: 30px; height: 40px; background: green; border: 5px solid yellow; }
</style>
<body>
<div class="vrl">
  <div class="test rel"><span class="abc">abc</span><img src=""></div>
</div>