backgr_simple-table-row-group.html 3.9 KB

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