layout/reftests/bugs/413286-6.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/413286-6.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,51 @@
     1.4 +<html>
     1.5 +<head><style>
     1.6 +  table        { width: 600px; }
     1.7 +  td.smallSpec { width: 100px; }
     1.8 +  td.zeroSpec  { width: 0px;   }
     1.9 +  td.smallPct  { width: 10%;   }
    1.10 +  td.pink      { background: pink; }
    1.11 +  td.teal      { background: teal; }
    1.12 +</style></head>
    1.13 +<body>
    1.14 +
    1.15 +<h2>Other column fixed-width; two zero columns with colspan; explicit 0 width on span</h2>
    1.16 +
    1.17 +<table cellspacing="0" cellpadding="0">
    1.18 +  <tr>
    1.19 +    <td class="smallSpec pink">100</td>
    1.20 +    <td class="zeroSpec teal" colspan="2"/>
    1.21 +  </tr>
    1.22 +</table>
    1.23 +
    1.24 +<h2>Other column percent-width; two zero columns with colspan; explicit 0 width on span</h2>
    1.25 +
    1.26 +<table cellspacing="0" cellpadding="0">
    1.27 +  <tr>
    1.28 +    <td class="smallPct pink">10%</td>
    1.29 +    <td class="zeroSpec teal" colspan="2"/>
    1.30 +  </tr>
    1.31 +</table>
    1.32 +
    1.33 +<h2>Other column fixed-width; zero-column explicitly zero-width; zero column spanned by colspan (crossing other column)</h2>
    1.34 +
    1.35 +<table cellspacing="0" cellpadding="0">
    1.36 +  <tr>
    1.37 +    <td class="smallSpec pink">100</td>
    1.38 +    <td class="zeroSpec teal"/>
    1.39 +  </tr>
    1.40 +  <tr><td colspan="2"/></tr>
    1.41 +</table>
    1.42 +
    1.43 +<h2>Other column percent-width; zero-column explicitly zero-width; zero column spanned by colspan (crossing other column)</h2>
    1.44 +
    1.45 +<table cellspacing="0" cellpadding="0">
    1.46 +  <tr>
    1.47 +    <td class="smallPct pink">10%</td>
    1.48 +    <td class="zeroSpec teal"/>
    1.49 +  </tr>
    1.50 +  <tr><td colspan="2"/></tr>
    1.51 +</table>
    1.52 +
    1.53 +</body>
    1.54 +</html>

mercurial