layout/reftests/table-background/backgr_border-table.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
michael@0 2 <head>
michael@0 3 <title>Background on 'table'</title>
michael@0 4 <link rel="next" href="backgr_border-table-row-group.html" title="Background with Borders: Background on 'table-row-group'">
michael@0 5 <link rel="prev" href="backgr_layers-opacity.html" title="Background with Borders: Background on 'table-cell'">
michael@0 6 <link rel="contents" href="./backgr_index.html" title="Table of Contents">
michael@0 7 <link rel="stylesheet" type="text/css" href="common.css">
michael@0 8 <style type="text/css">
michael@0 9
michael@0 10 table {background: black url(edge.gif) top left no-repeat; border: 5px dotted;}
michael@0 11
michael@0 12 </style>
michael@0 13 </head>
michael@0 14 <body>
michael@0 15 <h1>CSS2 Table Backgrounds Test Suite</h1>
michael@0 16
michael@0 17 <h2>Part D: Background with Borders</h2>
michael@0 18
michael@0 19 <h3>Background on 'table'</h3>
michael@0 20
michael@0 21 <p>There should be three aqua stripes just inside the bottom and right table borders.</p>
michael@0 22
michael@0 23 <dl>
michael@0 24 <dt>next
michael@0 25 <dd><a href="backgr_border-table-row-group.html">Background with Borders: Background on 'table-row-group'</a>
michael@0 26 <dt>previous
michael@0 27 <dd><a href="backgr_layers-opacity.html">Background with Borders: Background on 'table-cell'</a>
michael@0 28 <dt>contents
michael@0 29 <dd><a href="./backgr_index.html">Table of Contents</a>
michael@0 30 </dl>
michael@0 31
michael@0 32 <table class="separate">
michael@0 33 <caption>With 'border-collapse: separate'</caption>
michael@0 34 <colgroup class="colgroup-A">
michael@0 35 <col class="col-1">
michael@0 36 <col class="col-2">
michael@0 37 <col class="col-3">
michael@0 38 </colgroup>
michael@0 39 <colgroup class="colgroup-B">
michael@0 40 <col class="col-4">
michael@0 41 </colgroup>
michael@0 42 <thead>
michael@0 43 <tr id="th-row-1">
michael@0 44 <th class="a">TH A</th>
michael@0 45 <th class="b">TH B</th>
michael@0 46 <th class="c">TH C</th>
michael@0 47 <th class="d">TH D</th>
michael@0 48 </tr>
michael@0 49 </thead>
michael@0 50 <tbody>
michael@0 51 <tr class="tb-row-1">
michael@0 52 <td class="e" rowspan=2>TD E</td>
michael@0 53 <td class="f">TD F</td>
michael@0 54 <td class="g">TD G</td>
michael@0 55 <td class="h">TD H</td>
michael@0 56 </tr>
michael@0 57 <tr class="tb-row-2">
michael@0 58
michael@0 59 <td class="j">TD J</td>
michael@0 60 <td class="k">TD K</td>
michael@0 61 <td class="l">TD L</td>
michael@0 62 </tr>
michael@0 63 </tbody>
michael@0 64 <tfoot>
michael@0 65 <tr id="tb-row-1">
michael@0 66 <td class="m" colspan=2>TD M</td>
michael@0 67
michael@0 68 <td class="o">TD O</td>
michael@0 69 <td class="p">TD P</td>
michael@0 70 </tfoot>
michael@0 71 </table>
michael@0 72
michael@0 73 <table class="collapse">
michael@0 74 <caption>With 'border-collapse: collapse'</caption>
michael@0 75 <colgroup class="colgroup-A">
michael@0 76 <col class="col-1">
michael@0 77 <col class="col-2">
michael@0 78 <col class="col-3">
michael@0 79 </colgroup>
michael@0 80 <colgroup class="colgroup-B">
michael@0 81 <col class="col-4">
michael@0 82 </colgroup>
michael@0 83 <thead>
michael@0 84 <tr id="th-row-1">
michael@0 85 <th class="a">TH A</th>
michael@0 86 <th class="b">TH B</th>
michael@0 87 <th class="c">TH C</th>
michael@0 88 <th class="d">TH D</th>
michael@0 89 </tr>
michael@0 90 </thead>
michael@0 91 <tfoot>
michael@0 92 <tr id="tb-row-1">
michael@0 93 <td class="m" colspan=2>TD M</td>
michael@0 94
michael@0 95 <td class="o">TD O</td>
michael@0 96 <td class="p">TD P</td>
michael@0 97 </tfoot>
michael@0 98 <tbody>
michael@0 99 <tr class="tb-row-1">
michael@0 100 <td class="e" rowspan=2>TD E</td>
michael@0 101 <td class="f">TD F</td>
michael@0 102 <td class="g">TD G</td>
michael@0 103 <td class="h">TD H</td>
michael@0 104 </tr>
michael@0 105 <tr class="tb-row-2">
michael@0 106
michael@0 107 <td class="j">TD J</td>
michael@0 108 <td class="k">TD K</td>
michael@0 109 <td class="l">TD L</td>
michael@0 110 </tr>
michael@0 111 </tbody>
michael@0 112 </table>
michael@0 113 <div class="validity">
michael@0 114 <a href="http://validator.w3.org/check/referer"><img
michael@0 115 src="valid-html401.png" height="31" width="88"
michael@0 116 alt="Valid HTML 4.01!"></a>
michael@0 117 </div>
michael@0 118 <address>
michael@0 119 CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;escape.com&gt;
michael@0 120 </address>
michael@0 121
michael@0 122 </body>
michael@0 123 </html>

mercurial