blob: dd8d47aac7725a4e7b39fb0bf7a392cb5a850444 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<title>This tests that we don't crash in autosize mode with subtree layout.</title>
<style>
div {
position: absolute;
overflow: hidden;
width: 10px;
height: 10px;
}
</style>
</head>
<body>
<div>Pass if no crash or assert.<div id=resizeThis></div></div>
<script>
if (window.internals)
internals.enableAutoSizeMode(true, 800, 600);
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
setTimeout(function() {
document.getElementById("resizeThis").style.width = "20px";
if (window.testRunner)
testRunner.notifyDone();
}, 0);
</script>
</body>
</html>