diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /layout/reftests/position-relative/table-collapse-3-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-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/position-relative/table-collapse-3-ref.html')
-rw-r--r-- | layout/reftests/position-relative/table-collapse-3-ref.html | 184 |
1 files changed, 184 insertions, 0 deletions
diff --git a/layout/reftests/position-relative/table-collapse-3-ref.html b/layout/reftests/position-relative/table-collapse-3-ref.html new file mode 100644 index 0000000000..348be1923c --- /dev/null +++ b/layout/reftests/position-relative/table-collapse-3-ref.html @@ -0,0 +1,184 @@ +<!DOCTYPE html> +<head> + <style> + html { + line-height: 1.25; + } + body { + background-color: white; + margin: 0; + } + table { + border-collapse: collapse; + position: absolute; + } + #first-table { + top: 0px; + } + #second-table { + top: 175px; + } + #third-table { + top: 350px; + } + #fourth-table { + top: 525px; + } + td { + padding: 0; + border-style: solid; + border-width: 5px; + border-color: transparent; + color: rgba(0,0,0,0); + } + #first-table td { + border-color: gold; + } + .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 { + 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-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 show-text"> </td> + </tr> + <tr> + <td colspan=2 class="bg-green">XXX</td> + </tr> + </tbody> + <tfoot> + <tr> + <td><div class="bg-cyan show-text">XXX</div></td> + <td class="bg-white show-text"> </td> + </tr> + </tfoot> + </table> + <table id="third-table"> + <thead> + <tr> + <td><div class="bg-cyan show-text">XXX</div></td> + <td><div class="bg-blue show-text">YYY</div></td> + </tr> + </thead> + <tbody> + <tr> + <td><div class="bg-cyan show-text">XXX</div></td> + <td class="bg-white">YYY</td> + </tr> + <tr> + <td class="bg-white">XXX</td> + <td rowspan=2><div class="bg-blue show-text" style="padding: 12.5px 0">YYY</div></td> + </tr> + <tr> + <td class="bg-green">XXX</td> + </tr> + <tr> + <td colspan=2><div class="bg-cyan show-text">XXX</div></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><div class="bg-cyan show-text">XXX</div></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> |