border-conflict-width-077

Border Conflict Resolution (by border width): 'outset' vs. 'none' - border style with largest width is the dominant border

WeasyPrint

This browser

Assertion
The widest border is dominant when two cell borders collapse.

Source

 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): 'outset' 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 outset 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>outset</td>
31                 <td>outset</td>
32                 <td>outset</td>
33             </tr>
34             <tr>
35                 <td>outset</td>
36                 <td id="cell1">none</td>
37                 <td>outset</td>
38             </tr>
39             <tr>
40                 <td>outset</td>
41                 <td>outset</td>
42                 <td>outset</td>
43             </tr>
44         </table>
45     </body>
46 </html>