Dactyloidae/layout/reftests/table-bordercollapse/bug1379306.html
win7-7 48b7e80724 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.
2020-06-06 07:21:30 +08:00

30 lines
No EOL
487 B
HTML

<!DOCTYPE html>
<title>Table Cell Testcase, bug 1379306</title>
<style>
table.collapse {
border-collapse: collapse;
}
td {
border: 20px solid #aaa;
width: 120px;
height: 150px;
position: relative;
}
div {
background-color: #000;
position: absolute;
top: 0;
left: 0;
height: 10px;
width: 20px
}
</style>
<h1>Table Cell Testcase, bug 1379306</h1>
<table class="collapse">
<tr>
<td>
<div></div>
</td>
</tr>
</table>