1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Border Conflict Resolution (by border style): 'inset' vs. 'hidden' - border with highest priority border style should dominate</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution">
7 <meta name="flags" content="">
8 <meta name="assert" content="The 'hidden' border is the dominant border when it is collapsed with an 'inset' border.">
9 <style type="text/css">
10 table
11 {
12 border-collapse: collapse;
13 }
14 td
15 {
16 border: 5px inset lime;
17 height: 3em;
18 width: 3em;
19 }
20 #center
21 {
22 border: 5px hidden red;
23 }
24 #top
25 {
26 border-top: 5px inset red;
27 }
28 #left
29 {
30 border-left: 5px inset red;
31 }
32 #bottom
33 {
34 border-bottom: 5px inset red;
35 }
36 #right
37 {
38 border-right: 5px inset red;
39 }
40 </style>
41 </head>
42 <body>
43 <p>Test passes if the center box in the table below has no border.</p>
44 <table>
45 <tr>
46 <td>inset</td>
47 <td id="bottom">inset</td>
48 <td>inset</td>
49 </tr>
50 <tr>
51 <td id="right">inset</td>
52 <td id="center">hidden</td>
53 <td id="left">inset</td>
54 </tr>
55 <tr>
56 <td>inset</td>
57 <td id="top">inset</td>
58 <td>inset</td>
59 </tr>
60 </table>
61 </body>
62 </html>