blob: 78aea1c23724df09ff4f73d842923a87ec899722 [file] [log] [blame]
<!doctype html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<p>This test should not crash</p>
<div style="display: grid;">
<div id="item" style="align-self: baseline;">PASS</div>
</div>
<script>
let item = document.getElementById("item");
item.offsetLeft;
item.style.width = "20px";
</script>