layout/reftests/table-width/percent-truncation-3-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-width/percent-truncation-3-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>Percent widths on table cells</title>
     1.8 +<style type="text/css">
     1.9 +
    1.10 +table {
    1.11 +  border-spacing: 0;
    1.12 +  padding: 0;
    1.13 +  border: none;
    1.14 +  empty-cells: show;
    1.15 +}
    1.16 +
    1.17 +td {
    1.18 +  border: 1px solid;
    1.19 +  padding: 0;
    1.20 +}
    1.21 +
    1.22 +</style>
    1.23 +</head>
    1.24 +<body>
    1.25 +
    1.26 +<!-- column min widths must match tests, since we have to size slightly
    1.27 +     smaller than percents because of the extra space from the borders -->
    1.28 +<table width="100%"><tr height="50">
    1.29 +<td style="background:yellow"  width="40%"><div style="width:100px"></div></td>
    1.30 +<td style="background:aqua"    width="40%"><div style="width:100px"></div></td>
    1.31 +<td style="background:fuchsia" width="20%"><div style="width:100px"></div></td>
    1.32 +<td style="background:blue"></td>
    1.33 +</tr></table>
    1.34 +
    1.35 +</body>
    1.36 +</html>

mercurial