| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body id="body"> | 6 <body id="body"> |
| 7 | 7 |
| 8 <span id="labelShutdown"><label id="labelElement" for="shutdownTime">Shut down c
omputer after</label></span> | 8 <span id="labelShutdown"><label id="labelElement" for="shutdownTime">Shut down c
omputer after</label></span> |
| 9 <input id="shutdownTime" type="text" value="10" aria-labelledby="labelShutdown s
hutdownTime shutdownUnit" /> | 9 <input id="shutdownTime" type="text" value="10" aria-labelledby="labelShutdown s
hutdownTime shutdownUnit" /> |
| 10 <span id="shutdownUnit">minutes</span> | 10 <span id="shutdownUnit">minutes</span> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 shouldBe("text.titleUIElement() != null && text.titleUIElement().isVal
id", "false"); | 28 shouldBe("text.titleUIElement() != null && text.titleUIElement().isVal
id", "false"); |
| 29 | 29 |
| 30 var labelElement = accessibilityController.accessibleElementById("labe
lElement"); | 30 var labelElement = accessibilityController.accessibleElementById("labe
lElement"); |
| 31 // This just makes sure that the label element is still visible in the
AX hierarchy, even though | 31 // This just makes sure that the label element is still visible in the
AX hierarchy, even though |
| 32 // it's a label element (sometimes they are ignored). | 32 // it's a label element (sometimes they are ignored). |
| 33 debug("Label element role is: " + labelElement.role); | 33 debug("Label element role is: " + labelElement.role); |
| 34 } | 34 } |
| 35 | 35 |
| 36 </script> | 36 </script> |
| 37 | 37 |
| 38 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 39 </body> | 38 </body> |
| 40 </html> | 39 </html> |
| OLD | NEW |