layout/reftests/table-width/balancing-1-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>Balancing of tables (shrinking)</title>
michael@0 5 <style type="text/css">
michael@0 6
michael@0 7 table, td {
michael@0 8 border: none;
michael@0 9 margin: 0;
michael@0 10 padding: 0;
michael@0 11 border-spacing: 3px;
michael@0 12 }
michael@0 13
michael@0 14 tr { height: 4em; }
michael@0 15
michael@0 16 td { background: black; background: currentColor; }
michael@0 17
michael@0 18 body { width: 900px; }
michael@0 19
michael@0 20 </style>
michael@0 21 </head>
michael@0 22 <body>
michael@0 23
michael@0 24 <!--
michael@0 25 cell widths are:
michael@0 26 min pref pct
michael@0 27 50 150
michael@0 28 50 50
michael@0 29 50 100*
michael@0 30 50 50 50%
michael@0 31
michael@0 32 and the table has 15px of horizontal border-spacing
michael@0 33
michael@0 34 sizing to col width total
michael@0 35 min 200
michael@0 36 min/pct 300
michael@0 37 min/spec 400
michael@0 38 pref 600
michael@0 39
michael@0 40 -->
michael@0 41
michael@0 42 <!-- width: 200px --><table><tr>
michael@0 43 <td style="color:aqua" width="50">&nbsp;</td>
michael@0 44 <td style="color:yellow" width="50">&nbsp;</td>
michael@0 45 <td style="color:fuchsia" width="50">&nbsp;</td>
michael@0 46 <td style="color:blue" width="50">&nbsp;</td>
michael@0 47 </tr></table>
michael@0 48
michael@0 49 <!-- width: 250px --><table><tr>
michael@0 50 <td style="color:aqua" width="50">&nbsp;</td>
michael@0 51 <td style="color:yellow" width="50">&nbsp;</td>
michael@0 52 <td style="color:fuchsia" width="50">&nbsp;</td>
michael@0 53 <td style="color:blue" width="100">&nbsp;</td>
michael@0 54 </tr></table>
michael@0 55
michael@0 56 <!-- width: 300px --><table><tr>
michael@0 57 <td style="color:aqua" width="50">&nbsp;</td>
michael@0 58 <td style="color:yellow" width="50">&nbsp;</td>
michael@0 59 <td style="color:fuchsia" width="50">&nbsp;</td>
michael@0 60 <td style="color:blue" width="150">&nbsp;</td>
michael@0 61 </tr></table>
michael@0 62
michael@0 63 <!-- width: 350px --><table><tr>
michael@0 64 <td style="color:aqua" width="50">&nbsp;</td>
michael@0 65 <td style="color:yellow" width="50">&nbsp;</td>
michael@0 66 <td style="color:fuchsia" width="75">&nbsp;</td>
michael@0 67 <td style="color:blue" width="175">&nbsp;</td>
michael@0 68 </tr></table>
michael@0 69
michael@0 70 <!-- width: 400px --><table><tr>
michael@0 71 <td style="color:aqua" width="50">&nbsp;</td>
michael@0 72 <td style="color:yellow" width="50">&nbsp;</td>
michael@0 73 <td style="color:fuchsia" width="100">&nbsp;</td>
michael@0 74 <td style="color:blue" width="200">&nbsp;</td>
michael@0 75 </tr></table>
michael@0 76
michael@0 77 <!-- width: 500px --><table><tr>
michael@0 78 <td style="color:aqua" width="100">&nbsp;</td>
michael@0 79 <td style="color:yellow" width="50">&nbsp;</td>
michael@0 80 <td style="color:fuchsia" width="100">&nbsp;</td>
michael@0 81 <td style="color:blue" width="250">&nbsp;</td>
michael@0 82 </tr></table>
michael@0 83
michael@0 84 <!-- width: 600px --><table><tr>
michael@0 85 <td style="color:aqua" width="150">&nbsp;</td>
michael@0 86 <td style="color:yellow" width="50">&nbsp;</td>
michael@0 87 <td style="color:fuchsia" width="100">&nbsp;</td>
michael@0 88 <td style="color:blue" width="300">&nbsp;</td>
michael@0 89 </tr></table>
michael@0 90
michael@0 91 <!-- width: 800px --><table><tr>
michael@0 92 <td style="color:aqua" width="225">&nbsp;</td>
michael@0 93 <td style="color:yellow" width="75">&nbsp;</td>
michael@0 94 <td style="color:fuchsia" width="100">&nbsp;</td>
michael@0 95 <td style="color:blue" width="400">&nbsp;</td>
michael@0 96 </tr></table>
michael@0 97
michael@0 98 </body>
michael@0 99 </html>

mercurial