Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / attachment-element.html
1 <!DOCTYPE html><!-- webkit-test-runner [ enableAttachmentElement=true ] -->
2 <html>
3 <body id="body">
4
5 <attachment id="attachment" title="title" subtitle="subtitle" action="action" progress="0.5"></attachment>
6
7 <p id="description"></p>
8 <div id="console"></div>
9
10 <script src="../resources/js-test-pre.js"></script>
11 <script>
12
13     description("This tests that attachment elements are accessible.");
14
15     if (window.accessibilityController) {
16         var content = accessibilityController.accessibleElementById("attachment");
17         debug("Attachment description: " + content.description);
18
19         debug("Attachment value: " + content.stringValue);
20
21         if (accessibilityController.platformName == "mac") {
22             debug("Attachment role: " + content.roleDescription);
23         }
24     }
25
26 </script>
27
28 <script src="../resources/js-test-post.js"></script>
29 </body>
30 </html>