cfleizach@apple.com | 6c89364 | 2019-01-21 01:26:37 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <script> |
| 5 | var successfullyParsed = false; |
| 6 | </script> |
| 7 | <script src="../../resources/js-test-pre.js"></script> |
| 8 | </head> |
| 9 | <body id="body"> |
| 10 | |
| 11 | <a id="link" href="#">focusable link</a> |
| 12 | |
| 13 | <p id="description"></p> |
| 14 | <div id="console"></div> |
| 15 | |
| 16 | <script> |
| 17 | |
| 18 | description("This tests the relative frame attribute returns accurate data."); |
| 19 | |
| 20 | if (window.accessibilityController) { |
| 21 | |
| 22 | var link = accessibilityController.accessibleElementById("link"); |
| 23 | debug("relative frame: " + link.stringDescriptionOfAttributeValue("AXRelativeFrame")); |
| 24 | } |
| 25 | |
| 26 | successfullyParsed = true; |
| 27 | </script> |
| 28 | |
| 29 | <script src="../../resources/js-test-post.js"></script> |
| 30 | </body> |
| 31 | </html> |