summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/sizing-orthogonal-percentage-margin-005-ref.html
blob: 076edc385601ee1e2cf35c6dac81ca33252e37ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!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">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.container {
  background: cyan;
  border: solid thick;
  height: 500px;
  width: 200px;
}
.element {
  background: magenta;
  font: 50px/1 Ahem;
  margin: 20px;
  height: 460px;
  writing-mode: vertical-lr;
}
</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>