1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-background/backgr_position-table-row.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,135 @@ 1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> 1.5 +<head> 1.6 +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 1.7 +<title>Background on 'table-row'</title> 1.8 +<link rel="next" href="backgr_position-table-column.html" title="Background Position: Background on 'table-column'"> 1.9 +<link rel="prev" href="backgr_position-table-column-group.html" title="Background Position: Background on 'table-column-group'"> 1.10 +<link rel="contents" href="./backgr_index.html" title="Table of Contents"> 1.11 +<link rel="stylesheet" type="text/css" href="common.css"> 1.12 +<style type="text/css"> 1.13 + 1.14 + .th-row-1 {background: black url(edge.gif) bottom right no-repeat;} 1.15 + .tb-row-1 {background: black url(edge.gif) bottom left no-repeat;} 1.16 + .tb-row-2 {background: black url(edge.gif) top left no-repeat;} 1.17 + 1.18 +</style> 1.19 +</head> 1.20 +<body> 1.21 +<h1>CSS2 Table Backgrounds Test Suite</h1> 1.22 + 1.23 +<h2>Part B: Background Position</h2> 1.24 + 1.25 + <h3>Background on 'table-row'</h3> 1.26 + 1.27 + <p>Three rows are styled.</p> 1.28 + <p>The first row should have three aqua stripes just inside the 1.29 + bottom and right border edges of its last cell. The bottom three 1.30 + stripes should continue across the row, appearing along the border 1.31 + edge of each cell.</p> 1.32 + <p>The second row should have three vertical aqua stripes just 1.33 + inside the left border edge of the top half of the first cell (Cell 1.34 + E.) Three horizontal aqua stripes should cut across that cell and 1.35 + align along the bottom border edge of the last three cells.</p> 1.36 + <p>The third row should have three horizontal aqua stripes along the 1.37 + top border edge of the last three cells in the row.</p> 1.38 + <dl> 1.39 + <dt>next 1.40 + <dd><a href="backgr_position-table-column.html">Background Position: Background on 'table-column'</a> 1.41 + <dt>previous 1.42 + <dd><a href="backgr_position-table-column-group.html">Background Position: Background on 'table-column-group'</a> 1.43 + <dt>contents 1.44 + <dd><a href="./backgr_index.html">Table of Contents</a> 1.45 + </dl> 1.46 + 1.47 + <table class="separate"> 1.48 + <caption>With 'border-collapse: separate'</caption> 1.49 + <colgroup class="colgroup-A"> 1.50 + <col class="col-1"> 1.51 + <col class="col-2"> 1.52 + <col class="col-3"> 1.53 + </colgroup> 1.54 + <colgroup class="colgroup-B"> 1.55 + <col class="col-4"> 1.56 + </colgroup> 1.57 + <thead> 1.58 + <tr class="th-row-1"> 1.59 + <th class="a">TH A</th> 1.60 + <th class="b">TH B</th> 1.61 + <th class="c">TH C</th> 1.62 + <th class="d">TH D</th> 1.63 + </tr> 1.64 + </thead> 1.65 + <tfoot> 1.66 + <tr class="tf-row-1"> 1.67 + <td class="m" colspan=2>TD M</td> 1.68 + 1.69 + <td class="o">TD O</td> 1.70 + <td class="p">TD P</td> 1.71 + </tfoot> 1.72 + <tbody> 1.73 + <tr class="tb-row-1"> 1.74 + <td class="e" rowspan=2>TD E</td> 1.75 + <td class="f">TD F</td> 1.76 + <td class="g">TD G</td> 1.77 + <td class="h">TD H</td> 1.78 + </tr> 1.79 + <tr class="tb-row-2"> 1.80 + 1.81 + <td class="j">TD J</td> 1.82 + <td class="k">TD K</td> 1.83 + <td class="l">TD L</td> 1.84 + </tr> 1.85 + </tbody> 1.86 + </table> 1.87 + 1.88 + <table class="collapse"> 1.89 + <caption>With 'border-collapse: collapse'</caption> 1.90 + <colgroup class="colgroup-A"> 1.91 + <col class="col-1"> 1.92 + <col class="col-2"> 1.93 + <col class="col-3"> 1.94 + </colgroup> 1.95 + <colgroup class="colgroup-B"> 1.96 + <col class="col-4"> 1.97 + </colgroup> 1.98 + <thead> 1.99 + <tr class="th-row-1"> 1.100 + <th class="a">TH A</th> 1.101 + <th class="b">TH B</th> 1.102 + <th class="c">TH C</th> 1.103 + <th class="d">TH D</th> 1.104 + </tr> 1.105 + </thead> 1.106 + <tfoot> 1.107 + <tr class="tf-row-1"> 1.108 + <td class="m" colspan=2>TD M</td> 1.109 + 1.110 + <td class="o">TD O</td> 1.111 + <td class="p">TD P</td> 1.112 + </tfoot> 1.113 + <tbody> 1.114 + <tr class="tb-row-1"> 1.115 + <td class="e" rowspan=2>TD E</td> 1.116 + <td class="f">TD F</td> 1.117 + <td class="g">TD G</td> 1.118 + <td class="h">TD H</td> 1.119 + </tr> 1.120 + <tr class="tb-row-2"> 1.121 + 1.122 + <td class="j">TD J</td> 1.123 + <td class="k">TD K</td> 1.124 + <td class="l">TD L</td> 1.125 + </tr> 1.126 + </tbody> 1.127 + </table> 1.128 +<div class="validity"> 1.129 + <a href="http://validator.w3.org/check/referer"><img 1.130 + src="valid-html401.png" height="31" width="88" 1.131 + alt="Valid HTML 4.01!"></a> 1.132 +</div> 1.133 +<address> 1.134 + CSS2 Table Backgrounds Test Suite designed and written by fantasai <fantasai@escape.com> 1.135 +</address> 1.136 + 1.137 +</body> 1.138 +</html>