summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/abspos/1183431-orthogonal-modes-6a.html
blob: 41f6681c932bc7c3f7e8cc215da125dc1a3c92b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<style>
body>div { margin: 50px 20px; width: 120px; height: 150px; border: 5px solid blue; }
.vrl { writing-mode: vertical-rl; }
.rel { position: relative; }
span { display: inline-block; padding: 5px; block-size: 1.5em; border: 2px solid red; }
p { position: absolute; margin: 0; padding: 2px; border: 2px solid green; }
</style>
<body>
<div class="vrl">
  <div><span>abc def</span><p>xyzzy</p></div>
</div>