summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-bordercollapse/bug1375518-4.html
blob: e319d75765f4cafdc36dd4fecf833ed60e1f14d2 (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
<!DOCTYPE html>
<title>border-radius and separated border model tables</title>
<style>

body { background: white; color: black }

table { border-collapse: separate; margin: 1em 2px; }
table, td { border: 1px solid black; }

.radius { border: 3px solid teal; background: aqua; color: black; border-radius: 12px }

</style>

<h1>border-radius and separated border model tables</h1>

<table>
  <tbody>
    <tr><td>xx</td><td>xx</td><td>xx
  </td></tr></tbody>
  <tbody class="radius">
    <tr><td>xx</td><td>xx</td><td>xx
    </td></tr><tr><td>xx</td><td>xx</td><td>xx
  </td></tr></tbody>
  <tbody>
    <tr><td>xx</td><td>xx</td><td>xx
  </td></tr></tbody>
</table>

<table>
  <tbody><tr class="radius"><td>xx</td><td>xx</td><td>xx
  </td></tr><tr><td>xx</td><td>xx</td><td>xx
</td></tr></tbody></table>

<table>
  <colgroup class="radius"><col><col></colgroup><colgroup><col>
  </colgroup><tbody><tr><td>xx</td><td>xx</td><td>xx
  </td></tr><tr><td>xx</td><td>xx</td><td>xx
</td></tr></tbody></table>

<table>
  <colgroup><col><col class="radius"><col>
  </colgroup><tbody><tr><td>xx</td><td>xx</td><td>xx
  </td></tr><tr><td>xx</td><td>xx</td><td>xx
</td></tr></tbody></table>