<!DOCTYPE html>
<body style="display: inline-grid;">
<style>
.absolutelyPositioned { position: absolute; }
</style>
This test has passed if it didn't crash.
<script>
if (window.testRunner)
    testRunner.dumpAsText();

var cell = document.createElement("cell");
cell.classList.add("absolutelyPositioned");
document.body.appendChild(cell);
document.body.offsetLeft;
cell.classList.remove("absolutelyPositioned");
</script>
