| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| 2 <head> | 2 <head> |
| 3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | 3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| 4 <title>Background on 'table-cell'</title> | 4 <title>Background on 'table-cell'</title> |
| 5 <link rel="prev" href="backgr_simple-table-column.html" title="Background Area:
Background on 'table-column'"> | 5 <link rel="prev" href="backgr_simple-table-column.html" title="Background Area:
Background on 'table-column'"> |
| 6 <link rel="next" href="backgr_position-table.html" title="Background Position: B
ackground on 'table'"> | 6 <link rel="next" href="backgr_position-table.html" title="Background Position: B
ackground on 'table'"> |
| 7 <link rel="contents" href="./backgr_index.html" title="Table of Contents"> | 7 <link rel="contents" href="./backgr_index.html" title="Table of Contents"> |
| 8 <link rel="stylesheet" type="text/css" href="common.css"> | 8 <link rel="stylesheet" type="text/css" href="resources/common.css"> |
| 9 <style type="text/css"> | 9 <style type="text/css"> |
| 10 | 10 |
| 11 td,th {background: black url(../images/rainbowv.gif) top right} | 11 td,th {background: black url(resources/rainbowv.gif) top right} |
| 12 | 12 |
| 13 </style> | 13 </style> |
| 14 </head> | 14 </head> |
| 15 <body> | 15 <body> |
| 16 <h1>CSS2 Table Backgrounds Test Suite</h1> | 16 <h3>crbug.com/35679: Background on 'table-cell'</h3> |
| 17 | |
| 18 <h2>Part A: Background Area</h2> | |
| 19 | |
| 20 <h3>Background on 'table-cell'</h3> | |
| 21 | |
| 22 <p class="clip">Each cell's background should fill the rectangle | |
| 23 defined by its border edge. There should be no gaps or holes in | |
| 24 the background within a cell.</p> | |
| 25 <p class="position">A purple band should align with the top | |
| 26 padding edge of each cell, and an orange stripe should align a | |
| 27 few pixels to the left of its right padding edge.</p> | |
| 28 | |
| 29 <dl> | |
| 30 <dt>next | |
| 31 <dd><a href="backgr_position-table.html">Background Position: Backgrou
nd on 'table'</a> | |
| 32 <dt>previous | |
| 33 <dd><a href="backgr_simple-table-column.html">Background Area: Backgro
und on 'table-column'</a> | |
| 34 <dt>contents | |
| 35 <dd><a href="./backgr_index.html">Table of Contents</a> | |
| 36 </dl> | |
| 37 | |
| 38 <table class="separate"> | |
| 39 <caption>With 'border-collapse: separate'</caption> | |
| 40 <colgroup class="colgroup-A"> | |
| 41 <col class="col-1"> | |
| 42 <col class="col-2"> | |
| 43 <col class="col-3"> | |
| 44 </colgroup> | |
| 45 <colgroup class="colgroup-B"> | |
| 46 <col class="col-4"> | |
| 47 </colgroup> | |
| 48 <thead> | |
| 49 <tr class="th-row-1"> | |
| 50 <th class="a">TH A</th> | |
| 51 <th class="b">TH B</th> | |
| 52 <th class="c">TH C</th> | |
| 53 <th class="d">TH D</th> | |
| 54 </tr> | |
| 55 </thead> | |
| 56 <tfoot> | |
| 57 <tr class="tf-row-1"> | |
| 58 <td class="m" colspan=2>TD M</td> | |
| 59 | |
| 60 <td class="o">TD O</td> | |
| 61 <td class="p">TD P</td> | |
| 62 </tfoot> | |
| 63 <tbody> | |
| 64 <tr class="tb-row-1"> | |
| 65 <td class="e" rowspan=2>TD E</td> | |
| 66 <td class="f">TD F</td> | |
| 67 <td class="g">TD G</td> | |
| 68 <td class="h">TD H</td> | |
| 69 </tr> | |
| 70 <tr class="tb-row-2"> | |
| 71 | |
| 72 <td class="j">TD J</td> | |
| 73 <td class="k">TD K</td> | |
| 74 <td class="l">TD L</td> | |
| 75 </tr> | |
| 76 </tbody> | |
| 77 </table> | |
| 78 | 17 |
| 79 <table class="collapse"> | 18 <table class="collapse"> |
| 80 <caption>With 'border-collapse: collapse'</caption> | 19 <caption>With 'border-collapse: collapse'</caption> |
| 81 <colgroup class="colgroup-A"> | 20 <colgroup class="colgroup-A"> |
| 82 <col class="col-1"> | 21 <col class="col-1"> |
| 83 <col class="col-2"> | 22 <col class="col-2"> |
| 84 <col class="col-3"> | 23 <col class="col-3"> |
| 85 </colgroup> | 24 </colgroup> |
| 86 <colgroup class="colgroup-B"> | 25 <colgroup class="colgroup-B"> |
| 87 <col class="col-4"> | 26 <col class="col-4"> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 109 <td class="h">TD H</td> | 48 <td class="h">TD H</td> |
| 110 </tr> | 49 </tr> |
| 111 <tr class="tb-row-2"> | 50 <tr class="tb-row-2"> |
| 112 | 51 |
| 113 <td class="j">TD J</td> | 52 <td class="j">TD J</td> |
| 114 <td class="k">TD K</td> | 53 <td class="k">TD K</td> |
| 115 <td class="l">TD L</td> | 54 <td class="l">TD L</td> |
| 116 </tr> | 55 </tr> |
| 117 </tbody> | 56 </tbody> |
| 118 </table> | 57 </table> |
| 58 <p class="clip">Each cell's background should fill the rectangle |
| 59 defined by its border edge. There should be no gaps or holes in |
| 60 the background within a cell.</p> |
| 61 <p class="position">A purple band should align with the top |
| 62 padding edge of each cell, and an orange stripe should align a |
| 63 few pixels to the left of its right padding edge.</p> |
| 64 |
| 119 <div class="validity"> | 65 <div class="validity"> |
| 120 <a href="http://validator.w3.org/check/referer"><img | 66 <a href="http://validator.w3.org/check/referer"><img |
| 121 src="../images/valid-html401.png" height="31" width="88" | 67 src="resources/valid-html401.png" height="31" width="88" |
| 122 alt="Valid HTML 4.01!"></a> | 68 alt="Valid HTML 4.01!"></a> |
| 123 </div> | 69 </div> |
| 124 <address> | 70 <address> |
| 125 CSS2 Table Backgrounds Test Suite designed and written by fantasai <fantasa
i@escape.com> | 71 CSS2 Table Backgrounds Test Suite designed and written by fantasai <fantasa
i@escape.com> |
| 126 </address> | 72 </address> |
| 127 | 73 |
| 128 </body> | 74 </body> |
| 129 </html> | 75 </html> |
| OLD | NEW |