summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/sizing-orthogonal-percentage-margin-002-ref.html
blob: 43379d61b72edb059ba7b8ea41698e5e99e9247d (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: 200px;
  width: 500px;
}
.element {
  background: magenta;
  font: 25px/1 Ahem;
  margin: 50px;
  height: 100px;
  writing-mode: vertical-rl;
}
</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>