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

Side by Side Diff: LayoutTests/accessibility/aria-presentational-role.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 <h3 role="presentation"> 8 <h3 role="presentation">
9 <a href="#">Link</a> and text 9 <a href="#">Link</a> and text
10 </h3> 10 </h3>
11 11
12 <p id="description"></p> 12 <p id="description"></p>
13 <div id="console"></div> 13 <div id="console"></div>
14 14
15 <script> 15 <script>
16 16
17 description("This tests that the aria 'presentation' role works by successfu lly removing the element from the AX tree."); 17 description("This tests that the aria 'presentation' role works by successfu lly removing the element from the AX tree.");
18 18
19 if (window.accessibilityController) { 19 if (window.accessibilityController) {
20 20
21 var body = document.getElementById("body"); 21 var body = document.getElementById("body");
22 body.focus(); 22 body.focus();
23 23
24 var firstChild = accessibilityController.focusedElement.childAtIndex(0 ); 24 var firstChild = accessibilityController.focusedElement.childAtIndex(0 );
25 shouldBe("firstChild.role", "'AXRole: AXLink'"); 25 shouldBe("firstChild.role", "'AXRole: AXLink'");
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-option-role.html ('k') | LayoutTests/accessibility/aria-readonly.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698