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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-width/spacing-invariance-quirks-pref-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<title>Test that cellpadding, cellspacing, border, etc., don't break table sizing.</title>
     1.7 +<style type="text/css">
     1.8 +
     1.9 +html, body { margin: 0 } /* no collapsing */
    1.10 +
    1.11 +table, td {
    1.12 +  border: none;
    1.13 +  margin: 0;
    1.14 +  padding: 0;
    1.15 +  border-spacing: 0;
    1.16 +}
    1.17 +
    1.18 +body > table { margin: 28px 29px 34px 35px; }
    1.19 +body { background: white; color: black; }
    1.20 +
    1.21 +div { background: olive; color: black; }
    1.22 +
    1.23 +</style>
    1.24 +</head>
    1.25 +<body>
    1.26 +<table><tr><td>
    1.27 +  <table><tr><td>
    1.28 +    <div>This is some text.</div>
    1.29 +  </td></tr></table>
    1.30 +</td></tr></table>
    1.31 +</body>
    1.32 +</html>

mercurial