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

Side by Side Diff: LayoutTests/accessibility/language-attribute.html

Issue 790693002: Propose Layout Test accessibility/language-attribute.html. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | LayoutTests/accessibility/language-attribute-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 <meta http-equiv="content-language" content="en">
6 </head>
7 <body id="body">
8
9 <p lang="pl">polish</p>
10
11 <p id="description"></p>
12 <div id="console"></div>
13
14 <script>
15
16 description("Check whether languages are reported properly");
17
18 if (window.accessibilityController) {
19 var body = document.getElementById("body");
20 body.focus();
21
22 var webPageLang = accessibilityController.focusedElement;
23 debug(webPageLang.language);
24
25 var lang = webPageLang.childAtIndex(0);
26 debug(lang.language);
27 }
28
29 </script>
30
31 </body>
32 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/language-attribute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698