layout/reftests/bugs/368504-5-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 <html>
michael@0 2 <head><style>
michael@0 3 /* cellspacing=0 cellpadding=0 */
michael@0 4 table { border-spacing: 0 }
michael@0 5 td, th { padding: 0 }
michael@0 6
michael@0 7 /* Colors for the three cell types */
michael@0 8 td.a { background: lightgreen; }
michael@0 9 td.b { background: yellow; }
michael@0 10 td.c { background: blue; }
michael@0 11
michael@0 12 /* Set min-width on table (replacing min-width */
michael@0 13 /* on colspanning cell) */
michael@0 14 table { min-width: 200px; }
michael@0 15
michael@0 16 /* Set %-width on 2nd cell of first row in tables */
michael@0 17 table#t0 td.b { width: 1% }
michael@0 18 table#t1 td.b { width: 5% }
michael@0 19 table#t2 td.b { width: 10% }
michael@0 20 table#t3 td.b { width: 30% }
michael@0 21 table#t4 td.b { width: 50% }
michael@0 22 table#t5 td.b { width: 75% }
michael@0 23 table#t6 td.b { width: 80% }
michael@0 24 table#t7 td.b { width: 90% }
michael@0 25 table#t8 td.b { width: 95% }
michael@0 26 table#t9 td.b { width: 100% }
michael@0 27
michael@0 28 </style></head>
michael@0 29 <body>
michael@0 30 <table id="t0"><tr>
michael@0 31 <td class="a">foo</td>
michael@0 32 <td class="b">foo</td>
michael@0 33 </tr><tr>
michael@0 34 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 35 </tr></table>
michael@0 36
michael@0 37 <table id="t1"><tr>
michael@0 38 <td class="a">foo</td>
michael@0 39 <td class="b">foo</td>
michael@0 40 </tr><tr>
michael@0 41 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 42 </tr></table>
michael@0 43
michael@0 44 <table id="t2"><tr>
michael@0 45 <td class="a">foo</td>
michael@0 46 <td class="b">foo</td>
michael@0 47 </tr><tr>
michael@0 48 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 49 </tr></table>
michael@0 50
michael@0 51 <table id="t3"><tr>
michael@0 52 <td class="a">foo</td>
michael@0 53 <td class="b">foo</td>
michael@0 54 </tr><tr>
michael@0 55 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 56 </tr></table>
michael@0 57
michael@0 58 <table id="t4"><tr>
michael@0 59 <td class="a">foo</td>
michael@0 60 <td class="b">foo</td>
michael@0 61 </tr><tr>
michael@0 62 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 63 </tr></table>
michael@0 64
michael@0 65 <table id="t5"><tr>
michael@0 66 <td class="a">foo</td>
michael@0 67 <td class="b">foo</td>
michael@0 68 </tr><tr>
michael@0 69 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 70 </tr></table>
michael@0 71
michael@0 72 <table id="t6"><tr>
michael@0 73 <td class="a">foo</td>
michael@0 74 <td class="b">foo</td>
michael@0 75 </tr><tr>
michael@0 76 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 77 </tr></table>
michael@0 78
michael@0 79 <table id="t7"><tr>
michael@0 80 <td class="a">foo</td>
michael@0 81 <td class="b">foo</td>
michael@0 82 </tr><tr>
michael@0 83 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 84 </tr></table>
michael@0 85
michael@0 86 <table id="t8"><tr>
michael@0 87 <td class="a">foo</td>
michael@0 88 <td class="b">foo</td>
michael@0 89 </tr><tr>
michael@0 90 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 91 </tr></table>
michael@0 92
michael@0 93 <table id="t9"><tr>
michael@0 94 <td class="a">foo</td>
michael@0 95 <td class="b">foo</td>
michael@0 96 </tr><tr>
michael@0 97 <td class="c">&nbsp</td><td class="c">&nbsp</td>
michael@0 98 </tr></table>
michael@0 99 </body>
michael@0 100 </html>

mercurial