summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/tables/table-caption-top-1-ref.html
blob: ac90c6ec20d7d4901a59731502c8a2da3804b2cf (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<style>
html {
  font: 0px sans-serif;
}
body > div {
  margin-bottom: 10px;
}
.h {
  writing-mode: horizontal-tb;
}
.vlr {
  writing-mode: vertical-lr;
}
.vrl {
  writing-mode: vertical-rl;
}
.t {
  width: 200px;
  height: 100px;
  background: silver;
}
.c {
  background: cyan;
  text-align: center;
  min-block-size: 20px;
  font-size: 12px;
}
</style>
</head>
<body>

<div class="h">
  <div class="c" style="width: 200px">table caption</div>
  <div class="t"></div>
</div>

<div class="h">
  <div class="c" style="width: 200px">table caption</div>
  <div class="t"></div>
</div>

<div class="vlr">
  <div class="c" style="height: 100px">table caption</div>
  <div class="t"></div>
</div>

<div class="vrl">
  <div class="c" style="height: 100px">table caption</div>
  <div class="t"></div>
</div>