blob: 02dfe07eb1c57fbfd9833e532ad4158f6875a2ef [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Writing Modes Test: Orthogonal element sizing and percentage margins reference file</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<style>
.container {
background: cyan;
border: solid thick;
height: 500px;
width: 200px;
writing-mode: vertical-lr;
}
.element {
background: magenta;
font: 25px/1 Ahem;
margin: 50px;
width: 100px;
writing-mode: horizontal-tb;
}
</style>
<p>The test passes if it has the same visual effect as reference.</p>
<div class="container">
<div class="element">XX X X X XX X X XX X XX</div>
</div>