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

mercurial