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

Side by Side Diff: LayoutTests/fast/css/content-language-dynamically-changed.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> 2 <html>
3 <head> 3 <head>
4 <meta id="target" http-equiv="content-language" content="zh"> 4 <meta id="target" http-equiv="content-language" content="zh">
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 http-equiv content-language to -webkit-locale. This particular test tests 9 map http-equiv content-language to -webkit-locale. This particular test tests
11 that dynamic changes to the meta element have no effect. This expectation may 10 that dynamic changes to the meta element have no effect. This expectation may
12 change, see bug. The HTML 5 spec decrees that the pragma-set default language 11 change, see bug. The HTML 5 spec decrees that the pragma-set default language
13 be set only when the meta element is 12 be set only when the meta element is
14 <a href="http://dev.w3.org/html5/spec/Overview.html#insert-an-element-into-a-doc ument">inserted into the document</a>. 13 <a href="http://dev.w3.org/html5/spec/Overview.html#insert-an-element-into-a-doc ument">inserted into the document</a>.
15 In Firefox and IE changing the element dynamically doesn't seem to affect the 14 In Firefox and IE changing the element dynamically doesn't seem to affect the
(...skipping 19 matching lines...) Expand all
35 meta.httpEquiv = "foobar"; 34 meta.httpEquiv = "foobar";
36 shouldBeEqualToString("languageOfNode('x')", "zh"); 35 shouldBeEqualToString("languageOfNode('x')", "zh");
37 shouldBeEqualToString("languageOfNode('y')", "ar"); 36 shouldBeEqualToString("languageOfNode('y')", "ar");
38 37
39 meta.httpEquiv = "content-language"; 38 meta.httpEquiv = "content-language";
40 shouldBeEqualToString("languageOfNode('x')", "zh"); 39 shouldBeEqualToString("languageOfNode('x')", "zh");
41 shouldBeEqualToString("languageOfNode('y')", "ar"); 40 shouldBeEqualToString("languageOfNode('y')", "ar");
42 </script> 41 </script>
43 </body> 42 </body>
44 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698