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

Side by Side Diff: LayoutTests/accessibility/inert-node-is-hidden.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 <!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="../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body id="body"> 6 <body id="body">
7 This content should not be exposed to AT when a modal dialog is open. 7 This content should not be exposed to AT when a modal dialog is open.
8 <div> 8 <div>
9 <input title="input" id="input" type="text"> 9 <input title="input" id="input" type="text">
10 </div> 10 </div>
11 <dialog title="dialog" id="dialog">Howdy</dialog> 11 <dialog title="dialog" id="dialog">Howdy</dialog>
12 12
13 <script> 13 <script>
14 description("This tests that inert elements are not in the AT tree."); 14 description("This tests that inert elements are not in the AT tree.");
(...skipping 19 matching lines...) Expand all
34 shouldBeNull("accessibilityController.accessibleElementById('input')"); 34 shouldBeNull("accessibilityController.accessibleElementById('input')");
35 shouldBeFalse("treeContainsText(webArea, 'This content should not be exposed to AT when a modal dialog is open')"); 35 shouldBeFalse("treeContainsText(webArea, 'This content should not be exposed to AT when a modal dialog is open')");
36 36
37 document.querySelector('dialog').close(); 37 document.querySelector('dialog').close();
38 shouldBeNonNull("accessibilityController.accessibleElementById('input')"); 38 shouldBeNonNull("accessibilityController.accessibleElementById('input')");
39 shouldBeTrue("treeContainsText(webArea, 'This content should not be exposed to AT when a modal dialog is open')"); 39 shouldBeTrue("treeContainsText(webArea, 'This content should not be exposed to AT when a modal dialog is open')");
40 } 40 }
41 </script> 41 </script>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/img-fallsback-to-title.html ('k') | LayoutTests/accessibility/inline-continuations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698