summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-background/backgr_simple-table-column.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/table-background/backgr_simple-table-column.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/table-background/backgr_simple-table-column.html')
-rw-r--r--layout/reftests/table-background/backgr_simple-table-column.html134
1 files changed, 134 insertions, 0 deletions
diff --git a/layout/reftests/table-background/backgr_simple-table-column.html b/layout/reftests/table-background/backgr_simple-table-column.html
new file mode 100644
index 0000000000..f23e21989b
--- /dev/null
+++ b/layout/reftests/table-background/backgr_simple-table-column.html
@@ -0,0 +1,134 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Background on 'table-column'</title>
+<link rel="next" href="backgr_simple-table-cell.html" title="Background Area: Background on 'table-cell'">
+<link rel="prev" href="backgr_simple-table-row.html" title="Background Area: Background on 'table-row'">
+<link rel="contents" href="./backgr_index.html" title="Table of Contents">
+<link rel="stylesheet" type="text/css" href="common.css">
+<style type="text/css">
+
+ col {background: black url(rainbowv.gif) bottom right}
+
+</style>
+</head>
+<body>
+<h1>CSS2 Table Backgrounds Test Suite</h1>
+
+<h2>Part A: Background Area</h2>
+
+ <h3>Background on 'table-column'</h3>
+
+ <p class="scope">All four columns are styled.</p>
+ <p class="clip">The table column background should be visible within
+ the border edge of each cell originating in the column, and the
+ background should be continuously tiled to fill the entire cell.
+ Within the column, all stripes should line up as if the cells were
+ cutouts in a stencil placed over the column background.
+ Furthermore, horizontal stripes should align across columns.</p>
+ <p class="position">A red band should align with the bottom
+ border edge of the last cell in each column. An orange stripe
+ should align a few pixels to the left of the right border of the
+ non-column-spanning cells in each column.</p>
+
+ <dl>
+ <dt>next
+ <dd><a href="backgr_simple-table-cell.html">Background Area: Background on 'table-cell'</a>
+ <dt>previous
+ <dd><a href="backgr_simple-table-row.html">Background Area: Background on 'table-row'</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 C</th>
+ <th class="d">TH D</th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr class="tf-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 C</th>
+ <th class="d">TH D</th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr class="tf-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>