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

Side by Side Diff: LayoutTests/fast/css/content-language-case-insensitivity.html

Issue 49063011: Delete js-test-style.css. js-test-pre.js injects the CSS it needs now. (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 xmlns="http://www.w3.org/1999/xhtml"> 2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head> 3 <head>
4 <meta http-equiv="cONtENT-LAnguAGE" content="ja-JP"> 4 <meta http-equiv="cONtENT-LAnguAGE" content="ja-JP">
5 <link rel="stylesheet" href="../js/resources/js-test-style.css">
6 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../js/resources/js-test-pre.js"></script>
7 </head> 6 </head>
8 <body> 7 <body>
9 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=76701">bug 76701</a >: 8 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=76701">bug 76701</a >:
10 map content-language to -webkit-locale. This particular test tests that the 9 map content-language to -webkit-locale. This particular test tests that the
11 matching of the http-equiv attribute to the content-language state is case 10 matching of the http-equiv attribute to the content-language state is case
12 insensitive. 11 insensitive.
13 </p> 12 </p>
14 <div id="console"></div> 13 <div id="console"></div>
15 <div id="x"></div> 14 <div id="x"></div>
16 <script> 15 <script>
17 function languageOfNode(id) { 16 function languageOfNode(id) {
18 var element = document.getElementById(id); 17 var element = document.getElementById(id);
19 return window.getComputedStyle(element).webkitLocale; 18 return window.getComputedStyle(element).webkitLocale;
20 } 19 }
21 shouldBeEqualToString("languageOfNode('x')", "ja-JP"); 20 shouldBeEqualToString("languageOfNode('x')", "ja-JP");
22 </script> 21 </script>
23 </body> 22 </body>
24 </html> 23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/aspect-ratio-parsing-tests.html ('k') | LayoutTests/fast/css/content-language-comma-separated-list.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698