Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / br-element-has-correct-title.html
blob34860f12e186edb63dbdf3da94f2406795676583
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body>
8 <p>A br element<br id="br">should return newline as its accessible title.</p>
10 <p id="description"></p>
11 <div id="console"></div>
13 <script>
14 description("This tests that a br element will return the newline character as its accessible title.");
16 if (window.accessibilityController) {
17 var brElement = accessibilityController.accessibleElementById("br");
18 shouldBe("brElement.deprecatedTitle", "'AXTitle: \\n'");
20 </script>
22 </body>
23 </html>