Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / input-file-causes-crash.html
blob370eb92320b89167c649961ae5feab625a17bd92
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body>
8 <input id="file-input" style="display:run-in;" type="file"/>
9 <dl>
11 <p id="description"></p>
12 <div id="console"></div>
14 <script>
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");
23 </script>
25 </body>
26 </html>