<!DOCTYPE html>
<style>
p:last-child {
    display:none;
}
</style>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<p>You should see the word 'PASS' below:</p>
<div id="container">
    <p>PASS</p>
</div>
<script>
container.offsetTop;
container.appendChild(document.createElement("p"));
</script>
