Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: LayoutTests/accessibility/aria-labelledby-overrides-label.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/aria-label.html ('k') | LayoutTests/accessibility/aria-list-and-listitem.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698