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

Side by Side Diff: LayoutTests/accessibility/focusable-div.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> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 5
6 <!-- A link always gets its accessible text from contents. --> 6 <!-- A link always gets its accessible text from contents. -->
7 <a id="link" href="#">A</a> 7 <a id="link" href="#">A</a>
8 8
9 <!-- A generic focusable div should also get its accessible text from contents. --> 9 <!-- A generic focusable div should also get its accessible text from contents. -->
10 <div id="div" tabindex="0">B</div> 10 <div id="div" tabindex="0">B</div>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 var div7 = document.getElementById('div7'); 74 var div7 = document.getElementById('div7');
75 div7.focus(); 75 div7.focus();
76 shouldBe("document.activeElement == div7", "true"); 76 shouldBe("document.activeElement == div7", "true");
77 window.axDiv7 = accessibilityController.focusedElement; 77 window.axDiv7 = accessibilityController.focusedElement;
78 shouldBe("axDiv7.title.indexOf('List item')", "-1"); 78 shouldBe("axDiv7.title.indexOf('List item')", "-1");
79 shouldBe("axDiv7.title.indexOf('Initial text before list') >= 0", "true"); 79 shouldBe("axDiv7.title.indexOf('Initial text before list') >= 0", "true");
80 } 80 }
81 81
82 </script> 82 </script>
83 83
84 <script src="../fast/js/resources/js-test-post.js"></script>
85 </body> 84 </body>
86 </html> 85 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698