Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
michael@0 | 4 | <title>empty-cells: show</title> |
michael@0 | 5 | <link rel="next" href="backgr_layers-hide.html" title="Background Layers: empty-cell: hide"> |
michael@0 | 6 | <link rel="prev" href="backgr_position-table-cell.html" title="Background Position: Background on 'table-cell'"> |
michael@0 | 7 | <link rel="contents" href="./backgr_index.html" title="Table of Contents"> |
michael@0 | 8 | <link rel="stylesheet" type="text/css" href="common.css"> |
michael@0 | 9 | <style type="text/css"> |
michael@0 | 10 | |
michael@0 | 11 | table {background: blue; empty-cells: show} |
michael@0 | 12 | tbody, thead {background: url(edge.gif) right top no-repeat} |
michael@0 | 13 | tr {background: url(edge.gif) 0 10px no-repeat} |
michael@0 | 14 | .colgroup-A {background: url(edge.gif) 100% 20px no-repeat} |
michael@0 | 15 | .col-3 {background: url(edge.gif) 0 30px no-repeat} |
michael@0 | 16 | .c {background: url(edge.gif) -20px 100% no-repeat; min-height: 50px} |
michael@0 | 17 | |
michael@0 | 18 | </style> |
michael@0 | 19 | </head> |
michael@0 | 20 | <body> |
michael@0 | 21 | <h1>CSS2 Table Backgrounds Test Suite</h1> |
michael@0 | 22 | |
michael@0 | 23 | <h2>Part C: Background Layers</h2> |
michael@0 | 24 | |
michael@0 | 25 | <h3>empty-cells: show</h3> |
michael@0 | 26 | |
michael@0 | 27 | <p>Both tables should have a blue background.</p> |
michael@0 | 28 | |
michael@0 | 29 | <p>In table cell C (third cell in the first row), which is empty:</p> |
michael@0 | 30 | <ul> |
michael@0 | 31 | <li>Four sets of horizontal double violet stripes surrounded by aqua should run just inside the top border edge. |
michael@0 | 32 | <li>One set of aqua-backed double violet stripes should run just inside the left, right, and bottom border edges. |
michael@0 | 33 | <li>The third set along the top should turn down at the right edge and go under the fourth set to form the right-edge set. |
michael@0 | 34 | <li>The fourth set should turn down at the left edge to form the left set. |
michael@0 | 35 | <li>The bottom stripe should be straight and cut across <em>over</em> the side sets. |
michael@0 | 36 | </ul> |
michael@0 | 37 | <p>In table cell A, (first cell in the first row):</p> |
michael@0 | 38 | <ul> |
michael@0 | 39 | <li>Three sets of horizontal aqua-backed double violet stripes should run just inside the top border edge. |
michael@0 | 40 | <li>The first set should run across. |
michael@0 | 41 | <li>The second set should turn down at the left edge, going over the third set to form another set that runs just inside the left border edge. |
michael@0 | 42 | </ul> |
michael@0 | 43 | <p>In table cell D, (last cell in the first row):</p> |
michael@0 | 44 | <ul> |
michael@0 | 45 | <li>Two sets of horizontal aqua-backed double violet strips should run just inside the top border edge. |
michael@0 | 46 | <li>The first set should turn down at the right edge, going under the second horizontal set to run vertically just inside the right border edge. |
michael@0 | 47 | </ul> |
michael@0 | 48 | <p>In table cell G, (third cell in the second row):</p> |
michael@0 | 49 | <ul> |
michael@0 | 50 | <li>Two sets of horizontal aqua-backed double violet stripes should run just inside the top border edge. |
michael@0 | 51 | <li>A set of vertical stripes should run down just inside the left border edge, going under both horizontal stripes. |
michael@0 | 52 | <li>Another set of vertical stripes should run down just inside the right border edge, also going under both horizontal stripes. |
michael@0 | 53 | </ul> |
michael@0 | 54 | <dl> |
michael@0 | 55 | <dt>next |
michael@0 | 56 | <dd><a href="backgr_layers-hide.html">Background Layers: empty-cells: show</a> |
michael@0 | 57 | <dt>previous |
michael@0 | 58 | <dd><a href="backgr_position-table-cell.html">Background Position: Background on 'table-cell'</a> |
michael@0 | 59 | <dt>contents |
michael@0 | 60 | <dd><a href="./backgr_index.html">Table of Contents</a> |
michael@0 | 61 | </dl> |
michael@0 | 62 | |
michael@0 | 63 | <table class="separate"> |
michael@0 | 64 | <caption>With 'border-collapse: separate'</caption> |
michael@0 | 65 | <colgroup class="colgroup-A"> |
michael@0 | 66 | <col class="col-1"> |
michael@0 | 67 | <col class="col-2"> |
michael@0 | 68 | <col class="col-3"> |
michael@0 | 69 | </colgroup> |
michael@0 | 70 | <colgroup class="colgroup-B"> |
michael@0 | 71 | <col class="col-4"> |
michael@0 | 72 | </colgroup> |
michael@0 | 73 | <thead> |
michael@0 | 74 | <tr class="th-row-1"> |
michael@0 | 75 | <th class="a">TH A</th> |
michael@0 | 76 | <th class="b">TH B</th> |
michael@0 | 77 | <th class="c"></th> |
michael@0 | 78 | <th class="d">TH D</th> |
michael@0 | 79 | </tr> |
michael@0 | 80 | </thead> |
michael@0 | 81 | <tfoot> |
michael@0 | 82 | <tr class="tb-row-1"> |
michael@0 | 83 | <td class="m" colspan=2>TD M</td> |
michael@0 | 84 | |
michael@0 | 85 | <td class="o">TD O</td> |
michael@0 | 86 | <td class="p">TD P</td> |
michael@0 | 87 | </tfoot> |
michael@0 | 88 | <tbody> |
michael@0 | 89 | <tr class="tb-row-1"> |
michael@0 | 90 | <td class="e" rowspan=2>TD E</td> |
michael@0 | 91 | <td class="f">TD F</td> |
michael@0 | 92 | <td class="g">TD G</td> |
michael@0 | 93 | <td class="h">TD H</td> |
michael@0 | 94 | </tr> |
michael@0 | 95 | <tr class="tb-row-2"> |
michael@0 | 96 | |
michael@0 | 97 | <td class="j">TD J</td> |
michael@0 | 98 | <td class="k">TD K</td> |
michael@0 | 99 | <td class="l">TD L</td> |
michael@0 | 100 | </tr> |
michael@0 | 101 | </tbody> |
michael@0 | 102 | </table> |
michael@0 | 103 | |
michael@0 | 104 | <table class="collapse"> |
michael@0 | 105 | <caption>With 'border-collapse: collapse'</caption> |
michael@0 | 106 | <colgroup class="colgroup-A"> |
michael@0 | 107 | <col class="col-1"> |
michael@0 | 108 | <col class="col-2"> |
michael@0 | 109 | <col class="col-3"> |
michael@0 | 110 | </colgroup> |
michael@0 | 111 | <colgroup class="colgroup-B"> |
michael@0 | 112 | <col class="col-4"> |
michael@0 | 113 | </colgroup> |
michael@0 | 114 | <thead> |
michael@0 | 115 | <tr class="th-row-1"> |
michael@0 | 116 | <th class="a">TH A</th> |
michael@0 | 117 | <th class="b">TH B</th> |
michael@0 | 118 | <th class="c"></th> |
michael@0 | 119 | <th class="d">TH D</th> |
michael@0 | 120 | </tr> |
michael@0 | 121 | </thead> |
michael@0 | 122 | <tfoot> |
michael@0 | 123 | <tr class="tb-row-1"> |
michael@0 | 124 | <td class="m" colspan=2>TD M</td> |
michael@0 | 125 | |
michael@0 | 126 | <td class="o">TD O</td> |
michael@0 | 127 | <td class="p">TD P</td> |
michael@0 | 128 | </tfoot> |
michael@0 | 129 | <tbody> |
michael@0 | 130 | <tr class="tb-row-1"> |
michael@0 | 131 | <td class="e" rowspan=2>TD E</td> |
michael@0 | 132 | <td class="f">TD F</td> |
michael@0 | 133 | <td class="g">TD G</td> |
michael@0 | 134 | <td class="h">TD H</td> |
michael@0 | 135 | </tr> |
michael@0 | 136 | <tr class="tb-row-2"> |
michael@0 | 137 | |
michael@0 | 138 | <td class="j">TD J</td> |
michael@0 | 139 | <td class="k">TD K</td> |
michael@0 | 140 | <td class="l">TD L</td> |
michael@0 | 141 | </tr> |
michael@0 | 142 | </tbody> |
michael@0 | 143 | </table> |
michael@0 | 144 | <div class="validity"> |
michael@0 | 145 | <a href="http://validator.w3.org/check/referer"><img |
michael@0 | 146 | src="valid-html401.png" height="31" width="88" |
michael@0 | 147 | alt="Valid HTML 4.01!"></a> |
michael@0 | 148 | </div> |
michael@0 | 149 | <address> |
michael@0 | 150 | CSS2 Table Backgrounds Test Suite designed and written by fantasai <fantasai@escape.com> |
michael@0 | 151 | </address> |
michael@0 | 152 | |
michael@0 | 153 | </body> |
michael@0 | 154 | </html> |