summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-bordercollapse/bug1394226.html
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2020-05-13 19:57:18 +0300
committerwin7-7 <win7-7@users.noreply.github.com>2020-05-13 19:57:18 +0300
commitca50a57545a3ef3a9aded85a9dc17f6a4ee1ebb9 (patch)
tree3f3a2dcc96001e389ec6e3d9f9a1d04e0287ebea /layout/reftests/table-bordercollapse/bug1394226.html
parentf38ebb5f44a7f95bc61db5d7ce050e6d30ab72bf (diff)
downloadUXP-ca50a57545a3ef3a9aded85a9dc17f6a4ee1ebb9.tar
UXP-ca50a57545a3ef3a9aded85a9dc17f6a4ee1ebb9.tar.gz
UXP-ca50a57545a3ef3a9aded85a9dc17f6a4ee1ebb9.tar.lz
UXP-ca50a57545a3ef3a9aded85a9dc17f6a4ee1ebb9.tar.xz
UXP-ca50a57545a3ef3a9aded85a9dc17f6a4ee1ebb9.zip
issue #1547 - Correct z-ordering for some table parts and add reftests
Diffstat (limited to 'layout/reftests/table-bordercollapse/bug1394226.html')
-rw-r--r--layout/reftests/table-bordercollapse/bug1394226.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/layout/reftests/table-bordercollapse/bug1394226.html b/layout/reftests/table-bordercollapse/bug1394226.html
new file mode 100644
index 000000000..04c8ab173
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/bug1394226.html
@@ -0,0 +1,47 @@
+<!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;
+ }
+ caption {
+ height: 10px
+ }
+</style>
+</head>
+<body>
+ <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>
+ <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