blob: 9fd31c44420ceeeeb50678dd4614ab60626eae5f (
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Testcase #2 for bug 349655</title>
<style type="text/css">
table table tr { background: yellow; }
td.gray table {border-top-style:outset}
td.rot table {border-top-style:solid;
border-bottom-style:solid;}
table.rl {border-left-style:solid;
border-right-style:solid;}
</style>
</head>
<body>
<table ><tr><th colspan="2"><h5>Tables on the left have no bordercolor attribute. Right side is the same but with bordercolor.</h5></th></tr>
<tr><td class="gray">
<table border="1" frame="hsides" rules="none">
<tr><td>border="1" frame="hsides" rules="none"</td><td>cell2</td></tr>
</table>
<br>
<table border="8" frame="hsides" rules="none">
<tr><td>border="8" frame="hsides" rules="none"</td><td>cell2</td></tr>
</table>
<br>
<table border="8" frame="hsides">
<tr><td>border="8" frame="hsides"</td><td>cell2</td></tr>
</table>
<br>
<table border="8" rules="none">
<tr><td>border="8" rules="none"</td><td>cell2</td></tr>
</table>
</td><td class="rot">
<table bordercolor="red" border="1" frame="hsides" rules="none">
<tr><td>border="1" frame="hsides" rules="none"</td><td>cell2</td></tr>
</table>
<br>
<table bordercolor="red" border="8" frame="hsides" rules="none">
<tr><td>border="8" frame="hsides" rules="none"</td><td>cell2</td></tr>
</table>
<br>
<table bordercolor="red" border="8" frame="hsides">
<tr><td>border="8" frame="hsides"</td><td>cell2</td></tr>
</table>
<br>
<table bordercolor="red" border="8" rules="none" class="rl">
<tr><td>border="8" rules="none"</td><td>cell2</td></tr>
</table>
</td></tr>
<tr><th colspan="2"><h5>Without "frame"/"rules" attribute.</h5></th></tr>
<tr><td class="gray">
<table border="1">
<tr><td>border="1"</td><td>cell2</td></tr>
</table>
<br>
<table border="8">
<tr><td>border="8"</td><td>cell2</td></tr>
</table>
</td><td class="rot">
<table bordercolor="red" border="1" class="rl">
<tr><td>border="1"</td><td>cell2</td></tr>
</table>
<br>
<table bordercolor="red" border="8" class="rl">
<tr><td>border="8" </td><td>cell2</td></tr>
</table>
</td></tr>
<tr><th colspan="2"><h5>border-collapse</h5></th></tr>
<tr><td >
<table style="border-collapse:collapse" border="1">
<tr><td>border="1"</td><td>cell2</td></tr>
</table>
<br>
<table style="border-collapse:collapse" border="8">
<tr><td>border="8"</td><td>cell2</td></tr>
</table>
</td><td class="rot">
<table style="border-collapse:collapse" bordercolor="red" border="1" class="rl">
<tr><td>border="1"</td><td>cell2</td></tr>
</table>
<br>
<table style="border-collapse:collapse" bordercolor="red" border="8" class="rl">
<tr><td>border="8" </td><td>cell2</td></tr>
</table>
</td></tr>
<tr><td></td><td>
<h5>bordercolor attribute on other elements</h5>
<table border="8" style="border-style:outset">
<tbody bordercolor="red"><tr><td>TBODY bordercolor</td><td>cell2</td></tr></tbody>
</table><br>
<table border="8" style="border-style:outset">
<tr bordercolor="red"><td>TR bordercolor</td><td>cell2</td></tr>
</table>
<table bordercolor="red" border="8" style="border-style:solid">
<tr><td bordercolor="red">TD bordercolor</td><td>cell2</td></tr>
</table>
</td></tr>
</table>
</body>
</html>
|