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

Side by Side Diff: LayoutTests/fast/css/content-language-comma-separated-list.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 <head> 3 <head>
4 <meta http-equiv="content-language" content="ja, zh_CN"> 4 <meta http-equiv="content-language" content="ja, zh_CN">
5 <link rel="stylesheet" href="../js/resources/js-test-style.css"> 5 <link rel="stylesheet" href="../js/resources/js-test-style.css">
6 <script src="../js/resources/js-test-pre.js"></script> 6 <script src="../js/resources/js-test-pre.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=76701">bug 76701</a >: 9 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=76701">bug 76701</a >:
10 map HTTP-EQUIV content-language to -webkit-locale. This particular test tests 10 map HTTP-EQUIV content-language to -webkit-locale. This particular test tests
(...skipping 10 matching lines...) Expand all
21 <div id="x"></div> 21 <div id="x"></div>
22 <div id="y" lang="ar"></div> 22 <div id="y" lang="ar"></div>
23 <script> 23 <script>
24 function languageOfNode(id) { 24 function languageOfNode(id) {
25 var element = document.getElementById(id); 25 var element = document.getElementById(id);
26 return window.getComputedStyle(element).webkitLocale; 26 return window.getComputedStyle(element).webkitLocale;
27 } 27 }
28 shouldBeEqualToString("languageOfNode('x')", "auto"); 28 shouldBeEqualToString("languageOfNode('x')", "auto");
29 shouldBeEqualToString("languageOfNode('y')", "ar"); 29 shouldBeEqualToString("languageOfNode('y')", "ar");
30 </script> 30 </script>
31 <script src="../js/resources/js-test-post.js"></script>
32 </body> 31 </body>
33 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698