layout/reftests/bugs/368504-5.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/368504-5.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,99 @@
     1.4 +<html>
     1.5 +<head><style>
     1.6 +  /* cellspacing=0 cellpadding=0          */
     1.7 +  table  { border-spacing: 0 }
     1.8 +  td, th { padding: 0 }
     1.9 +
    1.10 +  /* Colors for the three cell types      */
    1.11 +  td.a   { background: lightgreen; }
    1.12 +  td.b   { background: yellow;     }
    1.13 +  td.c   { background: blue;       }
    1.14 +
    1.15 +  /* Set min-width on colspanning cell    */
    1.16 +  td.c { min-width: 200px; }
    1.17 +
    1.18 +  /* Set %-width on 2nd cell of first row in tables */
    1.19 +  table#t0 td.b { width:   1% }
    1.20 +  table#t1 td.b { width:   5% }
    1.21 +  table#t2 td.b { width:  10% }
    1.22 +  table#t3 td.b { width:  30% }
    1.23 +  table#t4 td.b { width:  50% }
    1.24 +  table#t5 td.b { width:  75% }
    1.25 +  table#t6 td.b { width:  80% }
    1.26 +  table#t7 td.b { width:  90% }
    1.27 +  table#t8 td.b { width:  95% }
    1.28 +  table#t9 td.b { width: 100% }
    1.29 +
    1.30 +</style></head>
    1.31 +<body>
    1.32 +<table id="t0"><tr>
    1.33 +    <td class="a">foo</td>
    1.34 +    <td class="b">foo</td>
    1.35 +  </tr><tr>
    1.36 +    <td class="c" colspan="2">&nbsp</td>
    1.37 +</tr></table>
    1.38 +
    1.39 +<table id="t1"><tr>
    1.40 +    <td class="a">foo</td>
    1.41 +    <td class="b">foo</td>
    1.42 +  </tr><tr>
    1.43 +    <td class="c" colspan="2">&nbsp</td>
    1.44 +</tr></table>
    1.45 +
    1.46 +<table id="t2"><tr>
    1.47 +    <td class="a">foo</td>
    1.48 +    <td class="b">foo</td>
    1.49 +  </tr><tr>
    1.50 +    <td class="c" colspan="2">&nbsp</td>
    1.51 +</tr></table>
    1.52 +
    1.53 +<table id="t3"><tr>
    1.54 +    <td class="a">foo</td>
    1.55 +    <td class="b">foo</td>
    1.56 +  </tr><tr>
    1.57 +    <td class="c" colspan="2">&nbsp</td>
    1.58 +</tr></table>
    1.59 +
    1.60 +<table id="t4"><tr>
    1.61 +    <td class="a">foo</td>
    1.62 +    <td class="b">foo</td>
    1.63 +  </tr><tr>
    1.64 +    <td class="c" colspan="2">&nbsp</td>
    1.65 +</tr></table>
    1.66 +
    1.67 +<table id="t5"><tr>
    1.68 +    <td class="a">foo</td>
    1.69 +    <td class="b">foo</td>
    1.70 +  </tr><tr>
    1.71 +    <td class="c" colspan="2">&nbsp</td>
    1.72 +</tr></table>
    1.73 +
    1.74 +<table id="t6"><tr>
    1.75 +    <td class="a">foo</td>
    1.76 +    <td class="b">foo</td>
    1.77 +  </tr><tr>
    1.78 +    <td class="c" colspan="2">&nbsp</td>
    1.79 +</tr></table>
    1.80 +
    1.81 +<table id="t7"><tr>
    1.82 +    <td class="a">foo</td>
    1.83 +    <td class="b">foo</td>
    1.84 +  </tr><tr>
    1.85 +    <td class="c" colspan="2">&nbsp</td>
    1.86 +</tr></table>
    1.87 +
    1.88 +<table id="t8"><tr>
    1.89 +    <td class="a">foo</td>
    1.90 +    <td class="b">foo</td>
    1.91 +  </tr><tr>
    1.92 +    <td class="c" colspan="2">&nbsp</td>
    1.93 +</tr></table>
    1.94 +
    1.95 +<table id="t9"><tr>
    1.96 +    <td class="a">foo</td>
    1.97 +    <td class="b">foo</td>
    1.98 +  </tr><tr>
    1.99 +    <td class="c" colspan="2">&nbsp</td>
   1.100 +</tr></table>
   1.101 +</body>
   1.102 +</html>

mercurial