1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../resources/js-test.js"></script>
8 <input id=
"file-input" style=
"display:run-in;" type=
"file"/>
11 <p id=
"description"></p>
12 <div id=
"console"></div>
15 description("This can cause a crash if AccessibilityRenderObject assumes that a file input element's renderer must be type LayoutFileUploadControl, but in corner cases (display:run-in) this may not be true.");
17 if (window
.accessibilityController
) {
18 document
.getElementById("file-input").focus();
19 var element
= accessibilityController
.focusedElement
;
20 var title
= element
.deprecatedTitle
;
21 shouldBeNonNull("title");