blob: 889a280ad8f49d2adfde9a316bdc8e47c8b4d276 [file] [log] [blame]
<!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>