summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-background/backgr_layers-hide.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-background/backgr_layers-hide.html')
-rw-r--r--layout/reftests/table-background/backgr_layers-hide.html129
1 files changed, 129 insertions, 0 deletions
diff --git a/layout/reftests/table-background/backgr_layers-hide.html b/layout/reftests/table-background/backgr_layers-hide.html
new file mode 100644
index 0000000000..1ac8830b82
--- /dev/null
+++ b/layout/reftests/table-background/backgr_layers-hide.html
@@ -0,0 +1,129 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>empty-cells: hide</title>
+<link rel="next" href="backgr_border-table.html" title="Background with Borders: Background on 'table'">
+<link rel="prev" href="backgr_layers-show.html" title="Background Layers: empty-cell: show">
+<link rel="contents" href="./backgr_indxe.html" title="Table of Contents">
+<link rel="stylesheet" type="text/css" href="common.css">
+<style type="text/css">
+
+ table {background: blue; empty-cells: hide}
+ tbody, thead {background: url(edge.gif) right top no-repeat}
+ tr {background: url(edge.gif) 0 10px no-repeat}
+ .colgroup-A {background: url(edge.gif) 100% 20px no-repeat}
+ .col-3 {background: url(edge.gif) 0 30px no-repeat}
+ .c {background: url(edge.gif) -20px 100% no-repeat; min-height: 50px}
+
+</style>
+</head>
+<body>
+<h1>CSS2 Table Backgrounds Test Suite</h1>
+
+<h2>Part C: Background Layers</h2>
+
+ <h3>empty-cells: hide</h3>
+
+ <p>Both tables should look identical to the ones in <a href="backgr_layers-show.html">empty-cells: show</a> except that there should be a blue blank where table cell C should be.
+
+ <dl>
+ <dt>next
+ <dd><a href="backgr_border-table.html">Background with Borders: Background on 'table'</a>
+ <dt>previous
+ <dd><a href="backgr_layers-show.html">Background Layers: empty-cells: show</a>
+ <dt>contents
+ <dd><a href="./backgr_index.html">Table of Contents</a>
+ </dl>
+
+ <table class="separate">
+ <caption>With 'border-collapse: separate'</caption>
+ <colgroup class="colgroup-A">
+ <col class="col-1">
+ <col class="col-2">
+ <col class="col-3">
+ </colgroup>
+ <colgroup class="colgroup-B">
+ <col class="col-4">
+ </colgroup>
+ <thead>
+ <tr class="th-row-1">
+ <th class="a">TH A</th>
+ <th class="b">TH B</th>
+ <th class="c"></th>
+ <th class="d">TH D</th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr class="tb-row-1">
+ <td class="m" colspan=2>TD M</td>
+
+ <td class="o">TD O</td>
+ <td class="p">TD P</td>
+ </tfoot>
+ <tbody>
+ <tr class="tb-row-1">
+ <td class="e" rowspan=2>TD E</td>
+ <td class="f">TD F</td>
+ <td class="g">TD G</td>
+ <td class="h">TD H</td>
+ </tr>
+ <tr class="tb-row-2">
+
+ <td class="j">TD J</td>
+ <td class="k">TD K</td>
+ <td class="l">TD L</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <table class="collapse">
+ <caption>With 'border-collapse: collapse'</caption>
+ <colgroup class="colgroup-A">
+ <col class="col-1">
+ <col class="col-2">
+ <col class="col-3">
+ </colgroup>
+ <colgroup class="colgroup-B">
+ <col class="col-4">
+ </colgroup>
+ <thead>
+ <tr class="th-row-1">
+ <th class="a">TH A</th>
+ <th class="b">TH B</th>
+ <th class="c"></th>
+ <th class="d">TH D</th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr class="tb-row-1">
+ <td class="m" colspan=2>TD M</td>
+
+ <td class="o">TD O</td>
+ <td class="p">TD P</td>
+ </tfoot>
+ <tbody>
+ <tr class="tb-row-1">
+ <td class="e" rowspan=2>TD E</td>
+ <td class="f">TD F</td>
+ <td class="g">TD G</td>
+ <td class="h">TD H</td>
+ </tr>
+ <tr class="tb-row-2">
+
+ <td class="j">TD J</td>
+ <td class="k">TD K</td>
+ <td class="l">TD L</td>
+ </tr>
+ </tbody>
+ </table>
+<div class="validity">
+ <a href="http://validator.w3.org/check/referer"><img
+ src="valid-html401.png" height="31" width="88"
+ alt="Valid HTML 4.01!"></a>
+</div>
+<address>
+ CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;escape.com&gt;
+</address>
+
+</body>
+</html>