Update device orientation & motion permission native SPI as per latest proposal
[WebKit-https.git] / LayoutTests / accessibility / listitem-title.html
1 <!DOCTYPE html>
2 <html>
3 <script>
4     if (window.testRunner)
5         testRunner.dumpAsText();
6 </script>
7 <body id="body">
8     
9     <ul>
10       <li><span class="a">test</span><span class="b">1</span></li>
11       <li id="test b"><span class="a">test</span><span class="b">2</span></li>
12     </ul>
13
14     <ol>
15       <li id="test a"><span class="a">test</span><span class="b">1</span></li>
16       <li><span class="a">test</span><span class="b">2</span></li>
17     </ol>
18
19     <BR><BR><BR><hr><BR>
20     <div id="result"></div>    
21
22     <script>
23         if (window.accessibilityController) {
24             var result = document.getElementById("result");
25
26             var ulListElement = window.accessibilityController.accessibleElementById("test a");
27             result.innerText += 'il in ul title: ' + ulListElement.title + "\n\n";
28
29             var olListElement = window.accessibilityController.accessibleElementById("test b");
30             result.innerText += 'il in ol title: ' + olListElement.title + "\n\n";
31         }
32     </script>
33 </body>
34 </html>