3 <script src=
"../resources/js-test.js"></script>
7 <p id=
"description">This test makes sure that calling childrenCount on
8 an accessible element doesn't crash under ASAN immediately after switching
9 that document's display from block to inline-block, due to a bug in
10 AXLayoutObject::addInlineTextBoxChildren.
</p>
12 <div id=
"console"></div>
15 if (window
.testRunner
) {
16 testRunner
.dumpAsText();
17 testRunner
.waitUntilDone();
20 window
.jsTestIsAsync
= true;
22 window
.addEventListener('load', function() {
23 document
.body
.style
.display
= "inline-block";
24 if (window
.accessibilityController
)
25 accessibilityController
.focusedElement
.childrenCount
;