<!DOCTYPE html>
<link href="resources/grid.css" rel="stylesheet">
<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet">
<script>
if (window.testRunner) {
testRunner.dumpAsText();
}
</script>
<script>
function nullifyNodeProperties(node) {
for (var key in node) {
try {
var a = node[key];
node[key] = null;
} catch (e) {
}
}
}
function runTest() {
document.body.offsetLeft;
var element = document.getElementById("node");
nullifyNodeProperties(element);
}
</script>
<body onload="runTest();">
<p>This test passes if it does not crash.</p>
<div class="grid verticalRL fit-content">
<div id="node" class="horizontalTB"></div>
</div>
</body>