layout/reftests/table-width/spacing-invariance-quirks-min-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

michael@0 1 <html>
michael@0 2 <head>
michael@0 3 <title>Test that cellpadding, cellspacing, border, etc., don't break table sizing.</title>
michael@0 4 <style type="text/css">
michael@0 5
michael@0 6 html, body { margin: 0 } /* no collapsing */
michael@0 7
michael@0 8 table, td {
michael@0 9 border: none;
michael@0 10 margin: 0;
michael@0 11 padding: 0;
michael@0 12 border-spacing: 0;
michael@0 13 }
michael@0 14
michael@0 15 body > table { margin: 28px 29px 34px 35px; }
michael@0 16 body { background: white; color: black; }
michael@0 17
michael@0 18 div { background: olive; color: black; }
michael@0 19
michael@0 20 </style>
michael@0 21 </head>
michael@0 22 <body>
michael@0 23 <table width="1"><tr><td>
michael@0 24 <table><tr><td>
michael@0 25 <div>This is some text.</div>
michael@0 26 </td></tr></table>
michael@0 27 </td></tr></table>
michael@0 28 </body>
michael@0 29 </html>

mercurial