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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <html>
     2 <head>
     3 <title>Test that cellpadding, cellspacing, border, etc., don't break table sizing.</title>
     4 <style type="text/css">
     6 html, body { margin: 0 } /* no collapsing */
     8 table, td {
     9   border: none;
    10   margin: 0;
    11   padding: 0;
    12   border-spacing: 0;
    13 }
    15 body > table { margin: 28px 29px 34px 35px; }
    16 body { background: white; color: black; }
    18 div { background: olive; color: black; }
    20 </style>
    21 </head>
    22 <body>
    23 <table><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