border-style-outset-002

Table-Specific Border Style Behavior (collapsing border model/outset)

WeasyPrint

This browser

Assertion
In the collapsing border model, the 'outset' border style looks the same as the 'groove' border style.

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: Table-Specific Border Style Behavior (collapsing border model/outset)</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#table-border-styles">
 7         <meta name="flags" content="">
 8         <meta name="assert" content="In the collapsing border model, the 'outset' border style looks the same as the 'groove' border style.">
 9         <style type="text/css">
10             #table1
11             {
12                 border-collapse: separate;
13             }
14             #table2
15             {
16                 border: 30px outset;
17                 border-collapse: collapse;
18             }
19             td
20             {
21                 height: 5em;
22                 width: 5em;
23             }
24             #table1 td
25             {
26                 border: 30px groove;
27             }
28             #table2 td
29             {
30                 border: 30px outset;
31             }
32         </style>
33     </head>
34     <body>
35         <p>Test passes if the two boxes below have identical borders that look as if they are carved into the canvas.</p>
36         <table id="table1">
37             <tr>
38                 <td></td>
39             </tr>
40         </table>
41         <div>&nbsp;</div>
42         <table id="table2">
43             <tr>
44                 <td></td>
45             </tr>
46         </table>
47     </body>
48 </html>