border-conflict-resolution-006

Cell borders are set by the table

WeasyPrint

This browser

Assertion
Borders on every edge (top, right, bottom, left) of a cell can be set by the table's border properties, which can vary in width, style and color.

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: Cell borders are set by the table</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="Borders on every edge (top, right, bottom, left) of a cell can be set by the table's border properties, which can vary in width, style and color.">
 9         <style type="text/css">
10             table
11             {
12                 border-bottom: 8px dashed orange;
13                 border-left: 16px double purple;
14                 border-right: 12px dotted yellow;
15                 border-top: 4px solid blue;
16             }
17             td
18             {
19                 width: 6em;
20                 height: 6em;
21             }
22         </style>
23     </head>
24     <body>
25         <p>Test passes if there is an outline of a box with each edge looking different from the other edges.</p>
26         <table>
27             <tr>
28                <td></td>
29             </tr>
30         </table>
31     </body>
32 </html>