eric@webkit.org | 839d810 | 2009-04-29 22:14:52 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <script> |
rniwa@webkit.org | 3526ecc3 | 2012-06-12 20:37:15 +0000 | [diff] [blame] | 3 | if (window.testRunner) |
| 4 | testRunner.dumpAsText(); |
eric@webkit.org | 839d810 | 2009-04-29 22:14:52 +0000 | [diff] [blame] | 5 | |
| 6 | onload = function() |
| 7 | { |
| 8 | if (window.accessibilityController) { |
| 9 | var result = document.getElementById("result"); |
| 10 | result.innerText += "Test for role attribute of document \n"; |
| 11 | result.innerText += "----------------------------------- \n"; |
| 12 | result.innerText += "role of Document : " + |
| 13 | accessibilityController.focusedElement.role + |
| 14 | " \n"; |
| 15 | } |
| 16 | } |
| 17 | </script> |
| 18 | <body> |
| 19 | <div id="result"> |
| 20 | </div> |
| 21 | </body> |
| 22 | </html> |