summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-bordercollapse/bug1394226-notref.html
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2020-05-13 19:57:18 +0300
committerMoonchild <moonchild@palemoon.org>2020-05-20 13:52:54 +0000
commit21348b56d992e48d7a18259f95fc82edf53239d7 (patch)
treee9d0beff76c7f0d240cecfa57fdc4cfa63930680 /layout/reftests/table-bordercollapse/bug1394226-notref.html
parentad69c023a96f516ae9a0089b1bc6e4c0712dccd3 (diff)
downloadUXP-21348b56d992e48d7a18259f95fc82edf53239d7.tar
UXP-21348b56d992e48d7a18259f95fc82edf53239d7.tar.gz
UXP-21348b56d992e48d7a18259f95fc82edf53239d7.tar.lz
UXP-21348b56d992e48d7a18259f95fc82edf53239d7.tar.xz
UXP-21348b56d992e48d7a18259f95fc82edf53239d7.zip
issue #1547 - Correct z-ordering for some table parts and add reftests
Diffstat (limited to 'layout/reftests/table-bordercollapse/bug1394226-notref.html')
-rw-r--r--layout/reftests/table-bordercollapse/bug1394226-notref.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/layout/reftests/table-bordercollapse/bug1394226-notref.html b/layout/reftests/table-bordercollapse/bug1394226-notref.html
new file mode 100644
index 000000000..7c4b694a9
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/bug1394226-notref.html
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Table border collapse</title>
+<style>
+ table {
+ border-collapse: collapse;
+ }
+ tr.odd {
+ background-color: LightCyan;
+ }
+ tr.even {
+ background-color: LightSkyBlue;
+ }
+ td {
+ border: 5px solid DarkBlue;
+ }
+ .inner td {
+ border: 5px solid red;
+ }
+ .inner tr:first-child td {
+ border-top: 5px solid DarkBlue;
+ }
+ .inner tr td:first-child {
+ border-left: 5px solid DarkBlue;
+ }
+ .inner tr:last-child td {
+ border-bottom: 5px solid DarkBlue;
+ }
+ .inner tr td:last-child {
+ border-right: 5px solid DarkBlue;
+ }
+ div {
+ height: 10px;
+ }
+</style>
+</head>
+<body>
+ <div></div>
+ <table>
+ <caption></caption>
+ <tr class="odd">
+ <td>Cell 1-1</td>
+ <td>Cell 1-2</td>
+ </tr>
+ <tr class="even">
+ <td>Cell 2-1</td>
+ <td>Cell 2-2
+ <table class="inner">
+ <tr class="odd">
+ <td>Cell 2-2/1-1</td>
+ <td>Cell 2-2/1-2</td>
+ </tr>
+ <tr class="even">
+ <td>Cell 2-2/2-1</td>
+ <td>Cell 2-2/2-2</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+</body>
+</html> \ No newline at end of file