layout/reftests/table-width/conflicting-percent-widths-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-width/conflicting-percent-widths-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>Conflicting percent widths on table cells</title>
     1.8 +<style type="text/css">
     1.9 +
    1.10 +table, td {
    1.11 +  border-spacing: 0;
    1.12 +  border: none;
    1.13 +  padding: 0;
    1.14 +}
    1.15 +
    1.16 +</style>
    1.17 +</head>
    1.18 +<body>
    1.19 +
    1.20 +<!-- small percentage effect operates per-column -->
    1.21 +
    1.22 +<table>
    1.23 +  <tr>
    1.24 +    <td style="background: yellow" width="1%">x</td>
    1.25 +    <td style="background: aqua">x</td>
    1.26 +  </tr>
    1.27 +  <tr>
    1.28 +    <td style="background: blue" width="50%">x</td>
    1.29 +    <td style="background: fuchsia">x</td>
    1.30 +  </tr>
    1.31 +</table>
    1.32 +
    1.33 +<table>
    1.34 +  <tr>
    1.35 +    <td style="background: fuchsia">x</td>
    1.36 +    <td style="background: blue" width="50%">x</td>
    1.37 +  </tr>
    1.38 +  <tr>
    1.39 +    <td style="background: aqua">x</td>
    1.40 +    <td style="background: yellow" width="1%">x</td>
    1.41 +  </tr>
    1.42 +</table>
    1.43 +
    1.44 +</body>
    1.45 +</html>

mercurial