summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/413286-1c.html
blob: 7e4b1db3c0cfc5f3529b8a3c1bd3d5a6b85e3f6e (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
<html>
  <head>
    <style>
      table     { width: 400px; height: 25px; font-size: 10px; }
      td.blue   { background: lightblue;  color: rgba(0,0,0,0) }
      td.green  { background: lightgreen; color: rgba(0,0,0,0) }
      col.a     { width: 100px; }
      col.c     { width: 100px; }
    </style>
  </head>
  <body>
    With colspan:
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue"></td>
        <td class="green" colspan="2"></td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue">xxx</td>
        <td class="green" colspan="2"></td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue"></td>
        <td class="green" colspan="2">xxx</td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue">xxx</td>
        <td class="green" colspan="2">xxx</td>
      </tr></tbody>
    </table>

    Without colspan:
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue"></td>
        <td class="green"></td>
        <td class="green"></td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue">xxx</td>
        <td class="green"></td>
        <td class="green"></td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue"></td>
        <td class="green">xxx</td>
        <td class="green"></td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue"></td>
        <td class="green"></td>
        <td class="green">xxx</td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue">xxx</td>
        <td class="green">xxx</td>
        <td class="green"></td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue">xxx</td>
        <td class="green"></td>
        <td class="green">xxx</td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue"></td>
        <td class="green">xxx</td>
        <td class="green">xxx</td>
      </tr></tbody>
    </table>
    <table cellspacing=0 cellpadding=0>
      <colgroup><col class="a"/><col/><col class="c"/></colgroup>
      <tbody><tr>
        <td class="blue">xxx</td>
        <td class="green">xxx</td>
        <td class="green">xxx</td>
      </tr></tbody>
    </table>
  </body>
</html>