summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/reference/direction-upright-002.html
blob: eac7ca9af922f56ff8e013467f49b8e456d3419c (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<title>Reftest Reference</title>

<style>
  body > div {
    border: solid silver;
    float: left;
    margin: 1em;
    border-inline-start-color: orange;
    border-block-start-color: aqua;
    border-inline-end-color: lime;
    border-block-end-color: yellow;
  }
  colgroup:first-child { background: fuchsia; }
  col:last-child { background: purple; }
  .flex { display: flex; }
  .grid { grid-template-columns: auto auto }
  hr { clear: both }
</style>

<p>Test passes if both rows of boxes are identical (coloring, order, orientation, and arrangement of contents).

<div style="writing-mode: vertical-rl; text-orientation: upright">
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>
<div style="writing-mode: vertical-lr; text-orientation: upright">
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>

<div dir=rtl>
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>
<div dir=rtl style="writing-mode: sideways-rl">
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>
<div dir=rtl style="writing-mode: sideways-lr">
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>

<hr>

<div style="writing-mode: vertical-rl; text-orientation: upright">
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>
<div style="writing-mode: vertical-lr; text-orientation: upright">
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>

<div dir=rtl>
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>
<div dir=rtl style="writing-mode: sideways-rl">
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>
<div dir=rtl style="writing-mode: sideways-lr">
  <table>
    <colgroup></colgroup>
    <colgroup><col><col></colgroup>
    <tr><td>A<td>B<td>C
  </table>
  <div class=flex>A <span>B</span></div>
  <div class=grid>A <span>B</span></div>
  <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div>
</div>