layout/reftests/table-width/spacing-invariance-standards-min.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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;
    11 }
    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 width="1" 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>

mercurial