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:size layout;">
<div id="klabb" style="display:inline-block; contain:size layout;">t</div>
<br>
<div id="babb" style="display:inline-block; width:10px; height:10px;"></div>
</div>
<script>
document.body.offsetTop;
klabb.innerHTML = ":-)";
klabb.style.height = "100px";
document.body.offsetTop;
babb.style.width = "20px";
</script>