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

Side by Side Diff: LayoutTests/fast/css/lang-mapped-to-webkit-locale-dynamic.xhtml

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 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head> 4 <head>
5 <title>mapping dynamic lang to -webkit-locale</title> 5 <title>mapping dynamic lang to -webkit-locale</title>
6 <link rel="stylesheet" href="../js/resources/js-test-style.css" />
7 <script src="../js/resources/js-test-pre.js"></script> 6 <script src="../js/resources/js-test-pre.js"></script>
8 <script> 7 <script>
9 function localeOfNode(id) { 8 function localeOfNode(id) {
10 var element = document.getElementById(id); 9 var element = document.getElementById(id);
11 return window.getComputedStyle(element).webkitLocale; 10 return window.getComputedStyle(element).webkitLocale;
12 } 11 }
13 12
14 function runTest() { 13 function runTest() {
15 description('This tests mapping of lang/xml:lang to -webkit-locale with dyna mic attribute changes. WebKit bug 76364'); 14 description('This tests mapping of lang/xml:lang to -webkit-locale with dyna mic attribute changes. WebKit bug 76364');
16 var x1 = document.getElementById("x1"); 15 var x1 = document.getElementById("x1");
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // If we include js-test-post.js directly, the "TEST COMPLETE" output comes out of order. 49 // If we include js-test-post.js directly, the "TEST COMPLETE" output comes out of order.
51 wasPostTestScriptParsed = true; 50 wasPostTestScriptParsed = true;
52 finishJSTest(); 51 finishJSTest();
53 } 52 }
54 </script> 53 </script>
55 </head> 54 </head>
56 <body onload="runTest();"> 55 <body onload="runTest();">
57 <div lang="ko" id="x1"><div id="x2"/><div id="x3" lang="ar"/></div> 56 <div lang="ko" id="x1"><div id="x2"/><div id="x3" lang="ar"/></div>
58 </body> 57 </body>
59 </html> 58 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/lang-mapped-to-webkit-locale.xhtml ('k') | LayoutTests/fast/css/style-scoped/basic-attribute.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698