blob: 48edcc2c69565797852a6d39fe67f80c05b902b3 [file] [edit]
<!DOCTYPE html><!-- webkit-test-runner [ IsAccessibilityIsolatedTreeEnabled=true ] -->
<html>
<head>
<title>This tests that AX can manage text content changes while inside tree mutation.</title>
<style>
#foobar {
text-transform: lowercase;
}
#foobar::first-letter {
margin: 1px;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.accessibilityController)
accessibilityController.accessibleElementById("foobar");
</script>
</head>
<body>
<div id=foobar>Pass if no crash or assert.</div><span aria-labeledby=foobar id=newParent></span><script>
newParent.appendChild(foobar);
</script>
</body>
</html>