Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / transformed-element.html
1 <html>
2 <script>
3     if (window.testRunner)
4         testRunner.dumpAsText();
5
6 </script>
7 <body id="body">
8     <!-- This test ensures that AX rectangles take transforms into account-->
9
10     <div id="hiddenDiv" style="-webkit-transform: rotate(20deg); -webkit-transform-origin: left bottom; padding-left: 100px; width: 200px; border: 1px solid black;">
11       <a href="#b">hello</a>
12     </div>
13     
14     <div id="result"></div>
15      
16     <script>
17       if (window.accessibilityController) {
18           var result = document.getElementById("result");
19
20           var body = document.getElementById("body");
21           body.focus();
22           var div = accessibilityController.focusedElement.childAtIndex(0);
23
24           result.innerText += div.allAttributes();
25       }
26     </script>
27 </body>
28 </html>