diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/position-relative/table-separate-2-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/position-relative/table-separate-2-ref.html')
-rw-r--r-- | layout/reftests/position-relative/table-separate-2-ref.html | 179 |
1 files changed, 179 insertions, 0 deletions
diff --git a/layout/reftests/position-relative/table-separate-2-ref.html b/layout/reftests/position-relative/table-separate-2-ref.html new file mode 100644 index 0000000000..90d7c6884b --- /dev/null +++ b/layout/reftests/position-relative/table-separate-2-ref.html @@ -0,0 +1,179 @@ +<!DOCTYPE html> +<head> + <style> + body { + background-color: white; + margin: 0; + } + table { + border-collapse: separate; + position: absolute; + } + #first-table { + background-color: red; + left: 300px; + } + #second-table { + left: 200px; + } + #third-table { + left: 100px; + } + #fourth-table { + left: 0px; + } + td { + border-style: solid; + border-width: 5px; + border-color: transparent; + color: rgba(0,0,0,0); + } + .bg-blue { + background-color: blue; + } + .bg-cyan { + background-color: cyan; + } + .bg-grey { + background-color: grey; + } + .bg-green { + background-color: green; + } + .bg-khaki { + background-color: khaki; + } + .bg-purple { + background-color: purple; + } + .bg-white { + background-color: white; + } + .show-text { + border-color: gold; + color: rgba(0,0,0,1); + } + </style> +</head> +<body> + <table id="first-table"> + <thead> + <tr> + <td class="bg-khaki">XXX</td> + <td class="bg-purple">YYY</td> + </tr> + </thead> + <tbody> + <tr> + <td class="bg-khaki">XXX</td> + <td class="bg-purple">YYY</td> + </tr> + <tr> + <td class="bg-khaki">XXX</td> + <td rowspan=2 class="bg-purple">YYY</td> + </tr> + <tr> + <td class="bg-khaki">XXX</td> + </tr> + <tr> + <td colspan=2 class="bg-khaki">XXX</td> + </tr> + </tbody> + <tfoot> + <tr> + <td class="bg-green">XXX</td> + <td class="bg-blue show-border show-text">YYY</td> + </tr> + </tfoot> + </table> + <table id="second-table"> + <thead> + <tr> + <td class="bg-green">XXX</td> + <td class="bg-green">YYY</td> + </tr> + </thead> + <tbody> + <tr> + <td class="bg-green">XXX</td> + <td class="bg-blue show-text">YYY</td> + </tr> + <tr> + <td class="bg-cyan show-text">XXX</td> + <td rowspan=2 class="bg-green">YYY</td> + </tr> + <tr> + <td class="bg-grey"> </td> + </tr> + <tr> + <td colspan=2 class="bg-green">XXX</td> + </tr> + </tbody> + <tfoot> + <tr> + <td class="bg-cyan show-text">XXX</td> + <td class="bg-white"> </td> + </tr> + </tfoot> + </table> + <table id="third-table"> + <thead> + <tr> + <td class="bg-cyan show-text">XXX</td> + <td class="bg-blue show-text">YYY</td> + </tr> + </thead> + <tbody> + <tr> + <td class="bg-cyan show-text">XXX</td> + <td class="bg-white">YYY</td> + </tr> + <tr> + <td class="bg-white">XXX</td> + <td rowspan=2 class="bg-blue show-text">YYY</td> + </tr> + <tr> + <td class="bg-green">XXX</td> + </tr> + <tr> + <td colspan=2 class="bg-cyan show-text">XXX</td> + </tr> + </tbody> + <tfoot> + <tr> + <td class="bg-white">XXX</td> + <td class="bg-white">YYY</td> + </tr> + </tfoot> + </table> + <table id="fourth-table"> + <thead> + <tr> + <td class="bg-white">XXX</td> + <td class="bg-white">YYY</td> + </tr> + </thead> + <tbody> + <tr> + <td class="bg-white">XXX</td> + <td class="bg-white">YYY</td> + </tr> + <tr> + <td class="bg-white">XXX</td> + <td class="bg-white" rowspan=2>YYY</td> + </tr> + <tr> + <td class="bg-cyan show-text">XXX</td> + </tr> + <tr> + <td class="bg-white" colspan=2>XXX</td> + </tr> + </tbody> + <tfoot> + <tr> + <td class="bg-white">XXX</td> + <td class="bg-white">YYY</td> + </tr> + </tfoot> + </table> +</body> |