Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-tables/absolute-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<table style="position: relative; max-height: 10px;">
<caption>caption</caption>
<td><div id=target style="position: absolute;"></div></td>
</table>
<script>
document.body.offsetTop;
document.getElementById('target').style.top = '10px';
</script>