gecko-dev/layout/reftests/writing-mode/abspos/1183431-orthogonal-modes-3-ref.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

14 lines
437 B
HTML

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<style>
body>div { margin: 50px 20px; width: 120px; height: 150px; border: 5px solid blue; }
.vlr { writing-mode: vertical-lr; }
span { display: inline-block; padding: 5px; block-size: 1.5em; border: 2px solid red; }
p { margin: 0; padding: 2px; border: 2px solid green; inline-size: -moz-fit-content; }
</style>
<body>
<div>
<div class="vlr"><span>abc def</span><p>xyzzy</p></div>
</div>