Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / media-emits-object-replacement.html
1 <!DOCTYPE HTML><!-- webkit-test-runner [ enableModernMediaControls=false ] -->
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
9 <div id="text1">
10 a <video width=100 height=100 controls></video> b
11 </div>
12
13 <br>
14
15 <div id="text2">
16 a <audio width=100 height=100 controls></audio> b
17 </div>
18
19 </div>
20
21 <div id="stopElement">End of test</div>
22
23 <pre id="tree"></pre>
24
25 <p id="description"></p>
26 <div id="console"></div>
27
28 <script>
29 description("This tests ensures that if video or audio tags are used, they will emit an object replacement character in a range for string operation.")
30
31 if (window.accessibilityController) {
32     // Build the accessibility tree up until 'End of test' is encountered.
33     window.stopElement = accessibilityController.accessibleElementById("stopElement");
34
35     document.body.focus();
36     dumpAccessibilityTree(accessibilityController.focusedElement, stopElement, 0);
37 }
38 </script>
39 <script src="../resources/js-test-post.js"></script>
40 </body>
41 </html>