blob: 9945bb2ad920263eee270dccef7eaba531bfab5b (
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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: 'groups' in the 'rules' attribute</title>
<meta name="assert" content="The first table has 2 horizontal lines.">
<meta name="assert" content="The second table has 2 vertical lines.">
<meta name="assert" content="The third table has 2 vertical lines and 2 horizontal lines.">
<style type="text/css">
table
{
border-collapse: collapse;
border-style: hidden;
}
.col1
{
border-style: none solid;
border-width: 1px;
}
.row
{
border-style: solid;
border-width: 1px;
}
td
{
height: 20px;
width: 20px;
}
</style>
</head>
<body>
<table>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table>
<colgroup class = "col1"></colgroup>
<colgroup class = "col1"></colgroup>
<colgroup class = "col1"></colgroup>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table>
<colgroup class = "col1"></colgroup>
<colgroup class = "col1"></colgroup>
<colgroup class = "col1"></colgroup>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
|