summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/row-group-order-ref.html
blob: 63087671c5fbd5921724df8675bbda13cf0c758c (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
<!doctype html>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
  table {
    font: 8px Ahem;
    border-collapse: collapse;
  }
  thead, tbody, tfoot {
    border: 10px solid;
  }
  .first {
    border-color: green;
  }
  .second {
    border-color: blue;
  }
  .third {
    border-color: yellow;
  }
  tbody {
    border-color: orange;
  }
  td {
    width: 50px;
    height: 50px;
  }
</style>

<table>
  <tbody class="first">
    <tr><td>head 1</td></tr>
  </tbody>
  <tbody>
    <tr><td>body 1</td></tr>
  </tbody>
  <tbody class="second">
    <tr><td>head 2</td></tr>
  </tbody>
  <tbody>
    <tr><td>body 2</td></tr>
  </tbody>
  <tbody class="third">
    <tr><td>head 3</td></tr>
  </tbody>
  <tbody>
    <tr><td>body 3</td></tr>
  </tbody>
  <tbody class="second">
    <tr><td>foot 2</td></tr>
  </tbody>
  <tbody>
    <tr><td>body 4</td></tr>
  </tbody>
  <tbody class="third">
    <tr><td>foot 3</td></tr>
  </tbody>
  <tbody class="first">
    <tr><td>foot 1</td></tr>
  </tbody>
</table>