Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / datetime-attribute.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
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 id="body">
8
9 <time id="timeElement" datetime="P15H10M">15 hrs, 10 min</time>
10
11 <p id="description"></p>
12 <div id="console"></div>
13 <script>
14     description("This tests that items with aria-selected are reported as selected children of the parent container.");
15
16     if (window.accessibilityController) {
17         var timeElement = accessibilityController.accessibleElementById("timeElement");
18         debug("Time 'role': " + timeElement.role);
19         debug("Time 'subrole': " + timeElement.subrole);
20         debug("Time 'value': " + timeElement.stringAttributeValue('AXDateTimeValue'));
21     }
22 </script>
23
24 <script src="../resources/js-test-post.js"></script>
25 </body>
26 </html>