border-conflict-resolution-001

Cell borders are set by a cell

WeasyPrint

This browser

Assertion
Borders on every edge (top, right, bottom, left) of a cell can be set by the cell'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 a cell</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 cell's border properties, which can vary in width, style and color.">
 9         <style type="text/css">
10             td
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                 height: 6em;
17                 width: 6em;
18             }
19         </style>
20     </head>
21     <body>
22         <p>Test passes if there is an outline of a box with each edge looking different from the other edges.</p>
23         <table>
24             <tr>
25                <td></td>
26             </tr>
27         </table>
28     </body>
29 </html>