Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / non-native-image-crash.html
blob8072ae44be75acdc47f8f3282af96dc99e1a87ad
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body id="body">
8 <div role="img" aria-label="ASCII art of a helicopter" title="Incorrect text equivalent. When available, node should use aria-label instead of title.">
9 <div class="ascii">
10 ========================
11 ___][_____
12 * __/ [___]\
13 ***====___ \
14 * \___________]
15 I I
16 ------------/
17 </div>
18 </div>
20 <p id="description"></p>
21 <div id="console"></div>
23 <script>
25 description("This tests that a non native image (one created through ARIA) does not cause an assert. Test passes if it does not crash in debug builds");
27 if (window.accessibilityController) {
29 var body = document.getElementById("body");
30 body.focus();
31 var image = accessibilityController.focusedElement.childAtIndex(0);
32 var w = image.width;
33 var h = image.height;
37 </script>
39 </body>
40 </html>