layout/reftests/table-width/spacing-invariance-quirks-min-ref.html

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:f5d3eb992168
1 <html>
2 <head>
3 <title>Test that cellpadding, cellspacing, border, etc., don't break table sizing.</title>
4 <style type="text/css">
5
6 html, body { margin: 0 } /* no collapsing */
7
8 table, td {
9 border: none;
10 margin: 0;
11 padding: 0;
12 border-spacing: 0;
13 }
14
15 body > table { margin: 28px 29px 34px 35px; }
16 body { background: white; color: black; }
17
18 div { background: olive; color: black; }
19
20 </style>
21 </head>
22 <body>
23 <table width="1"><tr><td>
24 <table><tr><td>
25 <div>This is some text.</div>
26 </td></tr></table>
27 </td></tr></table>
28 </body>
29 </html>

mercurial