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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>Percent widths on table cells</title>
michael@0 5 <style type="text/css">
michael@0 6
michael@0 7 table {
michael@0 8 border-spacing: 0;
michael@0 9 padding: 0;
michael@0 10 border: none;
michael@0 11 empty-cells: show;
michael@0 12 }
michael@0 13
michael@0 14 td {
michael@0 15 border: 1px solid;
michael@0 16 padding: 0;
michael@0 17 }
michael@0 18
michael@0 19 </style>
michael@0 20 </head>
michael@0 21 <body>
michael@0 22
michael@0 23 <!-- column min widths must match tests, since we have to size slightly
michael@0 24 smaller than percents because of the extra space from the borders -->
michael@0 25 <table width="100%"><tr height="50">
michael@0 26 <td style="background:yellow" width="40%"><div style="width:100px"></div></td>
michael@0 27 <td style="background:aqua" width="40%"><div style="width:100px"></div></td>
michael@0 28 <td style="background:fuchsia" width="20%"><div style="width:100px"></div></td>
michael@0 29 <td style="background:blue"></td>
michael@0 30 </tr></table>
michael@0 31
michael@0 32 </body>
michael@0 33 </html>

mercurial