table-column-rendering-001

Table columns are not rendered

WeasyPrint

This browser

Assertion
Table columns in themselves are not rendered.

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 columns are not rendered</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-display">
 7         <meta name="flags" content="">
 8         <meta name="assert" content="Table columns in themselves are not rendered.">
 9         <style type="text/css">
10             #table
11             {
12                 display: table;
13             }
14             #col
15             {
16                 background: red;
17                 display: table-column;
18                 height: 5em;
19                 width: 5em;
20             }
21         </style>
22     </head>
23     <body>
24         <p>Test passes if there is no red visible on the page.</p>
25         <div id="table">
26             <div id="col"></div>
27         </div>
28     </body>
29  </html>