Dactyloidae/layout/reftests/table-html/bug1379306-3.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

23 lines
No EOL
455 B
HTML

<!DOCTYPE HTML>
<title>Testcase, bug 1379306</title>
<style>
table { background: yellow }
td { height: 50px; width: 200px; background: aqua; }
div { background: fuchsia; height: 10px; width: 20px }
tbody { position: relative; border: 10px solid blue }
div { position: absolute; top: 0; left: 0 }
</style>
<h1>Table Row Group Testcase, bug 1379306</h1>
<table>
<tbody>
<tr>
<td>
<div></div>
</td>
</tr>
</tbody>
</table>