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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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   border: none;
    11   margin: 0;
    12   padding: 0;
    13   border-spacing: 0;
    14 }
    16 body > table { margin: 28px 29px 34px 35px; }
    17 body { background: white; color: black; }
    19 div { background: olive; color: black; }
    21 </style>
    22 </head>
    23 <body>
    24 <table width="1"><tr><td>
    25   <table><tr><td>
    26     <div>This is some text.</div>
    27   </td></tr></table>
    28 </td></tr></table>
    29 </body>
    30 </html>

mercurial