blob: fb6f1b712d6cb879a38b131a580d431598f00745 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that we properly update the tree before updating accessibility cache.</title>
<script>
if (window.accessibilityController)
accessibilityController.accessibleElementById("outer");
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
Pass if no crash or assert.
<div id=outer><div id=inner>foobar</div></div>
<script>
inner.style.display = "none";
outer.setAttribute("aria-labeledby", "inner");
</script>
</body>
</html>