border-conflict-style-067

Border Conflict Resolution (by border style): 'none' vs. 'none' - border with highest priority border style should dominate

WeasyPrint

This browser

Assertion
A 'none' border collapsed with a 'none' border yields no border.

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 style): 'none' vs. 'none' - 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="A 'none' border collapsed with a 'none' border yields no border.">
 9         <style type="text/css">
10             table
11             {
12                 border-collapse: collapse;
13             }
14             td
15             {
16                 border: 5px none red;
17                 height: 3em;
18                 width: 3em;
19             }
20             #center
21             {
22                 border: 5px none red;
23             }
24         </style>
25     </head>
26     <body>
27         <p>Test passes if there are no borders around the text below.</p>
28         <table>
29             <tr>
30                 <td>none</td>
31                 <td>none</td>
32                 <td>none</td>
33             </tr>
34             <tr>
35                 <td>none</td>
36                 <td id="center">none</td>
37                 <td>none</td>
38             </tr>
39             <tr>
40                 <td>none</td>
41                 <td>none</td>
42                 <td>none</td>
43             </tr>
44         </table>
45     </body>
46 </html>