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

Side by Side Diff: LayoutTests/accessibility/aria-used-on-image-maps.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 <img id="image" usemap="#map" src="data:image/gif;base64,R0lGODlhAQABAIAAAOTm7AA AACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" width="100" height="50" alt=""> 8 <img id="image" usemap="#map" src="data:image/gif;base64,R0lGODlhAQABAIAAAOTm7AA AACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" width="100" height="50" alt="">
9 <map name="map" id="map"> 9 <map name="map" id="map">
10 <area tabindex="0" role="button" shape="rect" coords="0,0,50,50" href="#" ti tle="Example 1"> 10 <area tabindex="0" role="button" shape="rect" coords="0,0,50,50" href="#" ti tle="Example 1">
11 <area tabindex="0" role="button" shape="rect" coords="50,0,100,50" href="#" title="Example 2"> 11 <area tabindex="0" role="button" shape="rect" coords="50,0,100,50" href="#" title="Example 2">
12 </map> 12 </map>
13 13
14 <p id="description"></p> 14 <p id="description"></p>
15 <div id="console"></div> 15 <div id="console"></div>
16 16
17 <script> 17 <script>
18 18
19 description("This tests that you can set an ARIA role on image map elements. "); 19 description("This tests that you can set an ARIA role on image map elements. ");
20 20
21 if (window.accessibilityController) { 21 if (window.accessibilityController) {
22 document.body.focus(); 22 document.body.focus();
23 var group = accessibilityController.focusedElement.childAtIndex(0); 23 var group = accessibilityController.focusedElement.childAtIndex(0);
24 shouldBe("group.childAtIndex(0).role", "'AXRole: AXButton'"); 24 shouldBe("group.childAtIndex(0).role", "'AXRole: AXButton'");
25 shouldBe("group.childAtIndex(1).role", "'AXRole: AXButton'"); 25 shouldBe("group.childAtIndex(1).role", "'AXRole: AXButton'");
26 } 26 }
27 27
28 </script> 28 </script>
29 29
30 <script src="../fast/js/resources/js-test-post.js"></script>
31 </body> 30 </body>
32 </html> 31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/aria-toggle-button-with-title.html ('k') | LayoutTests/accessibility/axobjectcache-leaks-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698