border-style-outset-001

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

WeasyPrint

This browser

Assertion
In the separated border model, the 'outset' border style makes its box looks like it is standing off of the canvas.

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 (separated 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 separated border model, the 'outset' border style makes its box looks like it is standing off of the canvas.">
 9         <style type="text/css">
10             table
11             {
12                 border: 10px outset;
13                 border-collapse: separate;
14             }
15             td
16             {
17                 width: 6em;
18                 height: 3em;
19             }
20         </style>
21     </head>
22     <body>
23         <p>Test passes if the box below looks like it sticks out of the surface of the page.</p>
24         <table>
25             <tr>
26                 <td></td>
27             </tr>
28         </table>
29     </body>
30 </html>