 <div id="target" style="position:absolute; width:100%; height:100%; background:green;"></div>
    </div>
  </span>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(()=> {
    document.body.offsetTop;
    removeMe.style.display = "none";
    document.body.offsetTop;
    posMe.style.position = "relative";
    assert_equals(document.getElementById("target").offsetWidth, 100);
    assert_equals(document.getElementById("target").off