21 lines
499 B
HTML
21 lines
499 B
HTML
<!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>
|