Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<div style="display:table; border-collapse:collapse;">
<div style="display:table-row-group; border:solid; background:pink;">
<div style="display:table-row; border:solid; background:pink;">
<div style="position:relative;">
<div id="elm" style="top:0; position:absolute;"></div>
</div>
</div>
</div>
</div>
<script>
document.body.offsetTop;
elm.style.top = "10px";
</script>