Update ANGLE
[WebKit-https.git] / LayoutTests / accessibility / inline-block-assertion.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8 <embed>
9 <div pseudo="-webkit-plugin-replacement" style="display: inline-block; position: relative; width: 100; height: 100;" id="group">
10 <iframe width="100%" id="iframe" style="max-height: 100%" height="350" src="resources/cake.png" frameborder="0" scrolling="no"></iframe>
11 </div>
12 </embed>
13
14 <p id="description"></p>
15 <div id="console"></div>
16
17 <script>
18
19     description("Make sure that an inline block element is not cast incorrectly causing an assertion.");
20
21     if (window.accessibilityController) {
22         var element = accessibilityController.accessibleElementById("group").childAtIndex(0).childAtIndex(0);
23         debug("ROLE: " + element.role);
24     }
25
26 </script>
27
28 <script src="../resources/js-test-post.js"></script>
29 </body>
30 </html>