CSS 2.1 failure: fixed-table-layout-006 fails
[WebKit-https.git] / LayoutTests / fast / css / fixed-table-layout-cell-padding.htm
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 padding is included in column width</title>
5         <style type="text/css">
6             table
7             {
8                 background: orange;
9                 border-collapse: separate;
10                 border-spacing: 10px 0;
11                 table-layout: fixed;
12                 width: 130px;
13             }
14             td
15             {
16                 background: blue;
17                 height: 100px;
18                 padding-left: 10px;
19                 padding-right: 10px;
20                 padding-top: 0;
21                 padding-bottom: 0;
22             }
23             #specified
24             {
25                 width: 10px;
26             }
27         </style>
28     </head>
29     <body>
30         <p>Test passes if all of the blue lines below appear to have the same width.</p>
31             <table>
32                 <tr>
33                     <td id="specified"></td>
34                     <td></td>
35                     <td></td>
36                </tr>
37             </table>
38     </body>
39 </html>