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

Side by Side Diff: LayoutTests/accessibility/input-image-alt.html

Issue 58533003: Move fast/js/resources files to resources. (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 <html> 1 <html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body id="body"> 6 <body id="body">
7 7
8 <input type="image" alt="Submit" src="resources/cake.png" width=100 height=1 00 id="image1"> 8 <input type="image" alt="Submit" src="resources/cake.png" width=100 height=1 00 id="image1">
9 9
10 <p id="description"></p> 10 <p id="description"></p>
11 <div id="console"></div> 11 <div id="console"></div>
12 12
13 <script> 13 <script>
14 if (window.accessibilityController) { 14 if (window.accessibilityController) {
15 description("This test makes sure that an input image returns its al t tag as the description"); 15 description("This test makes sure that an input image returns its al t tag as the description");
16 16
17 var image1 = document.getElementById("image1").focus(); 17 var image1 = document.getElementById("image1").focus();
18 var img = accessibilityController.focusedElement; 18 var img = accessibilityController.focusedElement;
19 19
20 shouldBe("img.description", "'AXDescription: Submit'"); 20 shouldBe("img.description", "'AXDescription: Submit'");
21 } 21 }
22 </script> 22 </script>
23 23
24 24
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/input-file-causes-crash.html ('k') | LayoutTests/accessibility/input-type-range-aria-value.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698