blob: 6b0929495f3e71030e901dc61b38a2e5bc3557e6 (
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
55
56
57
|
<!DOCTYPE html>
<title>CSS Test: vertical-rl Table Row/Rowgroup/Cell Ordering</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
<meta name="assert" content="This test checks that vertical-rl tables order rows/rowgroups right to left and cells top-to-bottom (LTR) per 'direction'.">
<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode">
<style>
.test {
writing-mode: vertical-rl;
}
table {
border-spacing: 0;
margin: 1em;
}
td {
width: 1em;
height: 1em;
border: solid gray;
}
.a { background: navy}
.b { background: blue }
.c { background: aqua }
.d { background: teal }
.e { background: purple }
.f { background: fuchsia }
.g { background: yellow }
.h { background: orange }
</style>
<table class="test">
<thead>
<tr>
<td class="a">
<td class="b">
<td colspan=2>
<tfoot>
<tr>
<td colspan=2>
<td class="c">
<td class="d">
<tbody>
<tr>
<td rowspan=3>
<td colspan=2>
<td class="e">
<tr>
<td class="f">
<td rowspan=2 colspan=2>
<tr>
<td class="g">
<tbody>
<tr>
<td class="h">
<td colspan=3>
</table>
|