gecko-dev/layout/reftests/writing-mode/abspos/1183431-orthogonal-modes-4c.html
Jonathan Kew 04f89231e4 Bug 1183431 - Tests for hypothetical box computation (to determine static position of abspos element) where orthogonal writing modes are involved. r=dholbert
--HG--
rename : layout/reftests/writing-mode/blue-32x32.png => layout/reftests/writing-mode/abspos/blue-32x32.png
2015-08-06 21:00:45 +01:00

16 lines
530 B
HTML

<!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>