layout/reftests/table-width/spacing-invariance-standards-pref-ref.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   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><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