layout/reftests/table-background/backgr_simple-table-row.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

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>Background on 'table-row'</title>
michael@0 5 <link rel="next" href="backgr_simple-table-column.html" title="Background Area: Background on 'table-column'">
michael@0 6 <link rel="prev" href="backgr_simple-table-column-group.html" title="Background Area: Background on 'table-column-group'">
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 tr {background: black url(rainbowh.gif) bottom left;}
michael@0 12
michael@0 13 </style>
michael@0 14 </head>
michael@0 15 <body>
michael@0 16 <h1>CSS2 Table Backgrounds Test Suite</h1>
michael@0 17
michael@0 18 <h2>Part A: Background Area</h2>
michael@0 19
michael@0 20 <h3>Background on 'table-row'</h3>
michael@0 21
michael@0 22 <p class="scope">All four rows are styled.</p>
michael@0 23 <p class="clip">The table row background should be visible within
michael@0 24 the border edge of each cell originating in the row, and the
michael@0 25 background should be continuously tiled to fill the entire cell.
michael@0 26 Within each row, all stripes should line up as if the cells were
michael@0 27 cutouts in a stencil placed over the row background. Furthermore,
michael@0 28 vertical stripes should align across rows.</p>
michael@0 29 <p class="position">A red band should align with the left border
michael@0 30 edge of the first cells in each row. An orange stripe should align
michael@0 31 a few pixels above the bottom border of the non-row-spanning cells
michael@0 32 in each row.</p>
michael@0 33
michael@0 34 <dl>
michael@0 35 <dt>next
michael@0 36 <dd><a href="backgr_simple-table-column.html">Background Area: Background on 'table-column'</a>
michael@0 37 <dt>previous
michael@0 38 <dd><a href="backgr_simple-table-column-group.html">Background Area: Background on 'table-column-group'</a>
michael@0 39 <dt>contents
michael@0 40 <dd><a href="./backgr_index.html">Table of Contents</a>
michael@0 41 </dl>
michael@0 42
michael@0 43 <table class="separate">
michael@0 44 <caption>With 'border-collapse: separate'</caption>
michael@0 45 <colgroup class="colgroup-A">
michael@0 46 <col class="col-1">
michael@0 47 <col class="col-2">
michael@0 48 <col class="col-3">
michael@0 49 </colgroup>
michael@0 50 <colgroup class="colgroup-B">
michael@0 51 <col class="col-4">
michael@0 52 </colgroup>
michael@0 53 <thead>
michael@0 54 <tr class="th-row-1">
michael@0 55 <th class="a">TH A</th>
michael@0 56 <th class="b">TH B</th>
michael@0 57 <th class="c">TH C</th>
michael@0 58 <th class="d">TH D</th>
michael@0 59 </tr>
michael@0 60 </thead>
michael@0 61 <tfoot>
michael@0 62 <tr class="tf-row-1">
michael@0 63 <td class="m" colspan=2>TD M</td>
michael@0 64
michael@0 65 <td class="o">TD O</td>
michael@0 66 <td class="p">TD P</td>
michael@0 67 </tfoot>
michael@0 68 <tbody>
michael@0 69 <tr class="tb-row-1">
michael@0 70 <td class="e" rowspan=2>TD E</td>
michael@0 71 <td class="f">TD F</td>
michael@0 72 <td class="g">TD G</td>
michael@0 73 <td class="h">TD H</td>
michael@0 74 </tr>
michael@0 75 <tr class="tb-row-2">
michael@0 76
michael@0 77 <td class="j">TD J</td>
michael@0 78 <td class="k">TD K</td>
michael@0 79 <td class="l">TD L</td>
michael@0 80 </tr>
michael@0 81 </tbody>
michael@0 82 </table>
michael@0 83
michael@0 84 <table class="collapse">
michael@0 85 <caption>With 'border-collapse: collapse'</caption>
michael@0 86 <colgroup class="colgroup-A">
michael@0 87 <col class="col-1">
michael@0 88 <col class="col-2">
michael@0 89 <col class="col-3">
michael@0 90 </colgroup>
michael@0 91 <colgroup class="colgroup-B">
michael@0 92 <col class="col-4">
michael@0 93 </colgroup>
michael@0 94 <thead>
michael@0 95 <tr class="th-row-1">
michael@0 96 <th class="a">TH A</th>
michael@0 97 <th class="b">TH B</th>
michael@0 98 <th class="c">TH C</th>
michael@0 99 <th class="d">TH D</th>
michael@0 100 </tr>
michael@0 101 </thead>
michael@0 102 <tfoot>
michael@0 103 <tr class="tf-row-1">
michael@0 104 <td class="m" colspan=2>TD M</td>
michael@0 105
michael@0 106 <td class="o">TD O</td>
michael@0 107 <td class="p">TD P</td>
michael@0 108 </tfoot>
michael@0 109 <tbody>
michael@0 110 <tr class="tb-row-1">
michael@0 111 <td class="e" rowspan=2>TD E</td>
michael@0 112 <td class="f">TD F</td>
michael@0 113 <td class="g">TD G</td>
michael@0 114 <td class="h">TD H</td>
michael@0 115 </tr>
michael@0 116 <tr class="tb-row-2">
michael@0 117
michael@0 118 <td class="j">TD J</td>
michael@0 119 <td class="k">TD K</td>
michael@0 120 <td class="l">TD L</td>
michael@0 121 </tr>
michael@0 122 </tbody>
michael@0 123 </table>
michael@0 124 <div class="validity">
michael@0 125 <a href="http://validator.w3.org/check/referer"><img
michael@0 126 src="valid-html401.png" height="31" width="88"
michael@0 127 alt="Valid HTML 4.01!"></a>
michael@0 128 </div>
michael@0 129 <address>
michael@0 130 CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;escape.com&gt;
michael@0 131 </address>
michael@0 132
michael@0 133 </body>
michael@0 134 </html>

mercurial