Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<table>
<caption id="target"></caption>
<td>
<div style="display: inline-block; height: 10%;"></div>
</td>
<td style="vertical-align: baseline;"></td>
</table>
<script>
document.body.offsetTop;
document.getElementById('target').style.height = '100px';
</script>