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 width): 'inset' vs. 'none' - border style with largest width is the dominant border</title>
5 <link rel="author" title="W3C" href="http://www.w3c.org/">
6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution">
8 <meta name="flags" content="">
9 <meta name="assert" content="The widest border is dominant when two cell borders collapse.">
10 <style type="text/css">
11 table
12 {
13 border-collapse: collapse;
14 }
15 td
16 {
17 border: 5px inset black;
18 height: 3em;
19 }
20 #cell1
21 {
22 border: 10px none red;
23 }
24 </style>
25 </head>
26 <body>
27 <p>Test passes if there is no red visible on the page.</p>
28 <table>
29 <tr>
30 <td>inset</td>
31 <td>inset</td>
32 <td>inset</td>
33 </tr>
34 <tr>
35 <td>inset</td>
36 <td id="cell1">none</td>
37 <td>inset</td>
38 </tr>
39 <tr>
40 <td>inset</td>
41 <td>inset</td>
42 <td>inset</td>
43 </tr>
44 </table>
45 </body>
46 </html>