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="contain:layout size;">
<div style="display:inline-block;">
<div style="contain:layout size;">
<div id="firstVictim"></div>
</div>
</div>
<div style="position:absolute;">
<div id="secondVictim"></div>
</div>
</div>
<script>
document.body.offsetTop;
firstVictim.style.display = "none";
secondVictim.style.display = "none";
</script>