layout/reftests/bugs/368504-5-ref.html

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

mercurial