blob: 73f0e884f18fcc18816640eaa318ba94f7eddead [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that accessibility ignores elements that are being destroyed</title>
<script>
if (window.accessibilityController)
accessibilityController.accessibleElementById("foo");
if (window.testRunner)
testRunner.dumpAsText();
</script>
<style>
::-webkit-scrollbar-corner {
border: 1px solid green;
}
</style>
</head>
<body>
PASS if no crash or assert.
<div id=foo style="overflow: scroll; height: 10px;"></div>
<script>
document.body.offsetHeight;
foo.style.display = "none";
document.body.offsetHeight;
</script>
</body>
</html>