layout/reftests/table-width/balancing-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-width/balancing-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,99 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>Balancing of tables (shrinking)</title>
     1.8 +<style type="text/css">
     1.9 +
    1.10 +table, td {
    1.11 +  border: none;
    1.12 +  margin: 0;
    1.13 +  padding: 0;
    1.14 +  border-spacing: 3px;
    1.15 +}
    1.16 +
    1.17 +tr { height: 4em; }
    1.18 +
    1.19 +td { background: black; background: currentColor; }
    1.20 +
    1.21 +body { width: 900px; }
    1.22 +
    1.23 +</style>
    1.24 +</head>
    1.25 +<body>
    1.26 +
    1.27 +<!--
    1.28 +    cell widths are:
    1.29 +    min   pref   pct
    1.30 +     50    150
    1.31 +     50     50
    1.32 +     50    100*
    1.33 +     50     50   50%
    1.34 +
    1.35 +    and the table has 15px of horizontal border-spacing
    1.36 +
    1.37 +    sizing to       col width total
    1.38 +    min             200
    1.39 +    min/pct         300
    1.40 +    min/spec        400
    1.41 +    pref            600
    1.42 +
    1.43 +  -->
    1.44 +
    1.45 +<!-- width: 200px --><table><tr>
    1.46 +<td style="color:aqua"    width="50">&nbsp;</td>
    1.47 +<td style="color:yellow"  width="50">&nbsp;</td>
    1.48 +<td style="color:fuchsia" width="50">&nbsp;</td>
    1.49 +<td style="color:blue"    width="50">&nbsp;</td>
    1.50 +</tr></table>
    1.51 +
    1.52 +<!-- width: 250px --><table><tr>
    1.53 +<td style="color:aqua"    width="50">&nbsp;</td>
    1.54 +<td style="color:yellow"  width="50">&nbsp;</td>
    1.55 +<td style="color:fuchsia" width="50">&nbsp;</td>
    1.56 +<td style="color:blue"    width="100">&nbsp;</td>
    1.57 +</tr></table>
    1.58 +
    1.59 +<!-- width: 300px --><table><tr>
    1.60 +<td style="color:aqua"    width="50">&nbsp;</td>
    1.61 +<td style="color:yellow"  width="50">&nbsp;</td>
    1.62 +<td style="color:fuchsia" width="50">&nbsp;</td>
    1.63 +<td style="color:blue"    width="150">&nbsp;</td>
    1.64 +</tr></table>
    1.65 +
    1.66 +<!-- width: 350px --><table><tr>
    1.67 +<td style="color:aqua"    width="50">&nbsp;</td>
    1.68 +<td style="color:yellow"  width="50">&nbsp;</td>
    1.69 +<td style="color:fuchsia" width="75">&nbsp;</td>
    1.70 +<td style="color:blue"    width="175">&nbsp;</td>
    1.71 +</tr></table>
    1.72 +
    1.73 +<!-- width: 400px --><table><tr>
    1.74 +<td style="color:aqua"    width="50">&nbsp;</td>
    1.75 +<td style="color:yellow"  width="50">&nbsp;</td>
    1.76 +<td style="color:fuchsia" width="100">&nbsp;</td>
    1.77 +<td style="color:blue"    width="200">&nbsp;</td>
    1.78 +</tr></table>
    1.79 +
    1.80 +<!-- width: 500px --><table><tr>
    1.81 +<td style="color:aqua"    width="100">&nbsp;</td>
    1.82 +<td style="color:yellow"  width="50">&nbsp;</td>
    1.83 +<td style="color:fuchsia" width="100">&nbsp;</td>
    1.84 +<td style="color:blue"    width="250">&nbsp;</td>
    1.85 +</tr></table>
    1.86 +
    1.87 +<!-- width: 600px --><table><tr>
    1.88 +<td style="color:aqua"    width="150">&nbsp;</td>
    1.89 +<td style="color:yellow"  width="50">&nbsp;</td>
    1.90 +<td style="color:fuchsia" width="100">&nbsp;</td>
    1.91 +<td style="color:blue"    width="300">&nbsp;</td>
    1.92 +</tr></table>
    1.93 +
    1.94 +<!-- width: 800px --><table><tr>
    1.95 +<td style="color:aqua"    width="225">&nbsp;</td>
    1.96 +<td style="color:yellow"  width="75">&nbsp;</td>
    1.97 +<td style="color:fuchsia" width="100">&nbsp;</td>
    1.98 +<td style="color:blue"    width="400">&nbsp;</td>
    1.99 +</tr></table>
   1.100 +
   1.101 +</body>
   1.102 +</html>

mercurial