Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / math-foreign-content.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <script src="../resources/accessibility-helper.js"></script>
6 </head>
7 <body>
8 <div id="content">
9   <math id="math">
10     <semantics>
11       <csymbol>Content MathML</csymbol>
12       <annotation-xml encoding="image/svg+xml">
13         <svg height="30" width="75">
14           <text x="0" y="15" transform="rotate(30 20,40)">SVG</text>
15         </svg> 
16       </annotation-xml>
17     </semantics>
18     <mtext><span>HTML</span></mtext>
19   </math>
20 </div>
21 <p id="description"></p>
22 <pre id="tree"></pre>
23 <div id="console"></div>
24 <script>
25     description("This verifies the expected roles and values are exposed for foreign content in MathML.");
26
27     if (window.accessibilityController) {
28         dumpAccessibilityTree(accessibilityController.accessibleElementById("math"), null, 0, false, false, true);
29         document.getElementById("content").style.visibility = "hidden";
30     }
31 </script>
32 <script src="../resources/js-test-post.js"></script>
33 </body>
34 </html>