commit-queue@webkit.org | 177e37c | 2011-09-09 18:06:22 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 | <html> |
| 3 | <head> |
mark.lam@apple.com | a931ab2 | 2013-09-08 01:18:24 +0000 | [diff] [blame] | 4 | <script src="../resources/js-test-pre.js"></script> |
mario.prada@samsung.com | c285087 | 2014-07-04 15:31:57 +0000 | [diff] [blame] | 5 | <script src="../resources/accessibility-helper.js"></script> |
commit-queue@webkit.org | 177e37c | 2011-09-09 18:06:22 +0000 | [diff] [blame] | 6 | </head> |
| 7 | <body> |
| 8 | |
| 9 | <span><div></div></span><span>x<div>y</div>z</span> |
| 10 | |
mario.prada@samsung.com | c285087 | 2014-07-04 15:31:57 +0000 | [diff] [blame] | 11 | <div id="stopElement">End of test</div> |
commit-queue@webkit.org | 177e37c | 2011-09-09 18:06:22 +0000 | [diff] [blame] | 12 | |
| 13 | <p id="description"></p> |
| 14 | <pre id="tree"></pre> |
| 15 | <div id="console"></div> |
| 16 | |
| 17 | <script> |
| 18 | description("Make sure that a debug assert is not triggered when constructing the accessibility tree for this page."); |
| 19 | |
| 20 | if (window.accessibilityController) { |
| 21 | // Build the accessibility tree up until 'End of test' is encountered. |
mario.prada@samsung.com | c285087 | 2014-07-04 15:31:57 +0000 | [diff] [blame] | 22 | window.stopElement = accessibilityController.accessibleElementById("stopElement") |
| 23 | |
commit-queue@webkit.org | 177e37c | 2011-09-09 18:06:22 +0000 | [diff] [blame] | 24 | document.body.focus(); |
mario.prada@samsung.com | c285087 | 2014-07-04 15:31:57 +0000 | [diff] [blame] | 25 | dumpAccessibilityTree(accessibilityController.focusedElement, stopElement, 0); |
commit-queue@webkit.org | 177e37c | 2011-09-09 18:06:22 +0000 | [diff] [blame] | 26 | } |
| 27 | |
commit-queue@webkit.org | 177e37c | 2011-09-09 18:06:22 +0000 | [diff] [blame] | 28 | </script> |
| 29 | |
mark.lam@apple.com | a931ab2 | 2013-09-08 01:18:24 +0000 | [diff] [blame] | 30 | <script src="../resources/js-test-post.js"></script> |
commit-queue@webkit.org | 177e37c | 2011-09-09 18:06:22 +0000 | [diff] [blame] | 31 | </body> |
| 32 | </html> |