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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/br-element-has-correct-title.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 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
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="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 7
8 <p>A br element<br id="br">should return newline as its accessible title.</p> 8 <p>A br element<br id="br">should return newline as its accessible title.</p>
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 description("This tests that a br element will return the newline character as its accessible title."); 14 description("This tests that a br element will return the newline character as its accessible title.");
15 15
16 if (window.accessibilityController) { 16 if (window.accessibilityController) {
17 var brElement = accessibilityController.accessibleElementById("br"); 17 var brElement = accessibilityController.accessibleElementById("br");
18 shouldBe("brElement.deprecatedTitle", "'AXTitle: \\n'"); 18 shouldBe("brElement.name", "'\\n'");
19 } 19 }
20 </script> 20 </script>
21 21
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698