diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-06-02 11:55:46 +0300 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2020-06-02 11:55:46 +0300 |
commit | fb564353f2f8e9b4ba01e814c06bb29828099268 (patch) | |
tree | b3ad0991109bcd25f3e791b54c1bc896442b1a7e /layout/reftests/table-bordercollapse/bug1379306-ref.html | |
parent | 4d373c1d360b29f94026b72c6f66e4ad313732cf (diff) | |
download | UXP-fb564353f2f8e9b4ba01e814c06bb29828099268.tar UXP-fb564353f2f8e9b4ba01e814c06bb29828099268.tar.gz UXP-fb564353f2f8e9b4ba01e814c06bb29828099268.tar.lz UXP-fb564353f2f8e9b4ba01e814c06bb29828099268.tar.xz UXP-fb564353f2f8e9b4ba01e814c06bb29828099268.zip |
issue #1575 - Fix the wrong position when we calculate the position for position:absolute child and add reftests
Use |GetUsedBorder| instead of |GetComputedBorder| when we calculate the position for position:absolute child.
Diffstat (limited to 'layout/reftests/table-bordercollapse/bug1379306-ref.html')
-rw-r--r-- | layout/reftests/table-bordercollapse/bug1379306-ref.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/table-bordercollapse/bug1379306-ref.html b/layout/reftests/table-bordercollapse/bug1379306-ref.html new file mode 100644 index 000000000..76c8ef813 --- /dev/null +++ b/layout/reftests/table-bordercollapse/bug1379306-ref.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<title>Table Cell Testcase, bug 1379306</title> +<style> + table.collapse { + border-collapse: collapse; + } + td { + border: 20px solid #aaa; + width: 120px; + height: 150px; + } + .first { + background-color: #000; + position: absolute; + top: 20px; + left: 20px; + height: 10px; + width: 20px + } +</style> +<h1>Table Cell Testcase, bug 1379306</h1> + +<div style="position: relative;"> + <table class="collapse"> + <tr> + <td> + <div class="first"></div> + </td> + </tr> + </table> +</div>
\ No newline at end of file |