Backed out changeset 555c786396f8 (bug 1852046) as requested. CLOSED TREE
[gecko.git] / layout / reftests / table-width / spacing-invariance-standards-pref.html
blob3d6b4294cb7906fd41be2a8e635bc027b94aa049
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Test that cellpadding, cellspacing, border, etc., don't break table sizing.</title>
5 <style type="text/css">
7 html, body { margin: 0 } /* no collapsing */
9 table, td {
10 margin: 0;
13 * { border-color: white; /* hidden */ }
14 table, td { border-style: solid; }
15 body { background: white; color: black; }
17 div { background: olive; color: black; }
19 </style>
20 </head>
21 <body>
22 <table cellpadding="3" cellspacing="5" border="2"><tr><td colspan="2" style="border-width: 1px"> <!-- td border currently already 1px -->
23 <table style="border-spacing: 5px 7px; border-width: 2px 3px 4px 5px"><tr><td colspan="3" style="padding: 4px 5px 6px 7px;border-width: 4px 5px 6px 7px">
24 <div>This is some text.</div>
25 </td></tr></table>
26 </td></tr></table>
27 </body>
28 </html>