blob: d31f33e2996a71becc48341d264ee9bdb5617fa8 [file] [log] [blame]
<style>
.container {
border: 5px solid red;
display: inline-block;
}
.box {
border: 5px solid;
width: 100px;
height: 50px;
}
</style>
<div>The four boxes below should look identical.</div>
<div class="container">
<div class="box" style="-webkit-writing-mode: horizontal-tb;"></div>
</div>
<div class="container">
<div class="box" style="-webkit-writing-mode: horizontal-bt;"></div>
</div>
<div class="container">
<div class="box" style="-webkit-writing-mode: vertical-lr;"></div>
</div>
<div class="container">
<div class="box" style="-webkit-writing-mode: vertical-rl;"></div>
</div>