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

Side by Side Diff: chrome/browser/resources/about_plugins.html

Issue 523153: Make about:plugin page get rendered properly in Hebrew and Arabic Chrome.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 months 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 id="t" i18n-values="dir:textdirection;">
3 <head>
4 <meta charset="utf-8">
2 5
3 <!-- 6 <!--
4 A modified version of the about:plugins page found in Mozilla. The license of 7 A modified version of the about:plugins page found in Mozilla. The license of
5 the original file is below. 8 the original file is below.
6 --> 9 -->
7 10
8 <!-- ***** BEGIN LICENSE BLOCK ***** 11 <!-- ***** BEGIN LICENSE BLOCK *****
9 - Version: MPL 1.1/GPL 2.0/LGPL 2.1 12 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
10 - 13 -
11 - The contents of this file are subject to the Mozilla Public License Version 14 - The contents of this file are subject to the Mozilla Public License Version
(...skipping 27 matching lines...) Expand all
39 - of those above. If you wish to allow use of your version of this file only 42 - of those above. If you wish to allow use of your version of this file only
40 - under the terms of either the GPL or the LGPL, and not to allow others to 43 - under the terms of either the GPL or the LGPL, and not to allow others to
41 - use your version of this file under the terms of the MPL, indicate your 44 - use your version of this file under the terms of the MPL, indicate your
42 - decision by deleting the provisions above and replace them with the notice 45 - decision by deleting the provisions above and replace them with the notice
43 - and other provisions required by the LGPL or the GPL. If you do not delete 46 - and other provisions required by the LGPL or the GPL. If you do not delete
44 - the provisions above, a recipient may use your version of this file under 47 - the provisions above, a recipient may use your version of this file under
45 - the terms of any one of the MPL, the GPL or the LGPL. 48 - the terms of any one of the MPL, the GPL or the LGPL.
46 - 49 -
47 - ***** END LICENSE BLOCK ***** --> 50 - ***** END LICENSE BLOCK ***** -->
48 51
49 <html id="t">
50 <head>
51 <title jscontent="title"></title> 52 <title jscontent="title"></title>
52 <style> 53 <style>
53 body {
54 font-family: sans-serif;
55 font-size: 0.8em;
56 }
57 54
58 div#outside { 55 div#outside {
59 text-align: justify; 56 text-align: justify;
60 width: 90%; 57 width: 90%;
61 margin-left: 5%; 58 margin-left: 5%;
62 margin-right: 5%; 59 margin-right: 5%;
63 } 60 }
64 61
65 h1 { 62 h1 {
66 text-align: center; 63 text-align: center;
67 } 64 }
68 65
69 h2.plugname { 66 h2.plugname {
70 margin-top: 2em; 67 margin-top: 2em;
71 margin-bottom: 1em; 68 margin-bottom: 1em;
72 } 69 }
73 70
74 dl { 71 dl {
75 margin: 0px 0px 3px 0px; 72 margin: 0px 0px 3px 0px;
76 } 73 }
77 74
78 table { 75 table {
79 text-align: left; 76 text-align: left;
80 width: 100%; 77 width: 100%;
81 border: 1px solid ThreeDShadow; 78 border: 1px solid ThreeDShadow;
82 border-spacing: 0px; 79 border-spacing: 0px;
83 } 80 }
84 81
82 html[dir='rtl'] table {
83 text-align: right;
84 }
85
85 th { 86 th {
86 text-align: center; 87 text-align: center;
87 background-color: Highlight; 88 background-color: Highlight;
88 color: HighlightText; 89 color: HighlightText;
89 } 90 }
90 91
91 th + th, 92 html[dir='ltr'] th + th,
92 td + td { 93 html[dir='ltr'] td + td {
arv (Not doing code reviews) 2010/01/08 00:25:48 It is enough to only do the rtl ones. th + th, td
93 border-left: 1px dotted ThreeDShadow; 94 border-left: 1px dotted ThreeDShadow;
94 } 95 }
95 96
97 html[dir='rtl'] th + th,
98 html[dir='rtl'] td + td {
99 border-right: 1px dotted ThreeDShadow;
100 }
101
96 td { 102 td {
97 text-align: left; 103 text-align: left;
98 border-top: 1px dotted ThreeDShadow; 104 border-top: 1px dotted ThreeDShadow;
99 } 105 }
100 106
107 html[dir='rtl'] td {
108 text-align: right;
109 }
110
101 th, td { 111 th, td {
102 padding: 3px; 112 padding: 3px;
103 } 113 }
104 114
105 th.type, th.suff { 115 th.type, th.suff {
106 width: 20%; 116 width: 20%;
107 } 117 }
108 118
109 th.desc { 119 th.desc {
110 width: 50%; 120 width: 50%;
111 } 121 }
112 122
113 th.enabled { 123 th.enabled {
114 width: 10%; 124 width: 10%;
115 } 125 }
116 </style> 126 </style>
117 </head> 127 </head>
118 <body> 128 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
119 <div id="outside"> 129 <div id="outside">
120 <script type="application/x-javascript"> 130 <script type="application/x-javascript">
121 131
122 /* JavaScript to enumerate and display all installed plug-ins 132 /* JavaScript to enumerate and display all installed plug-ins
123 133
124 * First, refresh plugins in case anything has been changed recently in 134 * First, refresh plugins in case anything has been changed recently in
125 * prefs: (The "false" argument tells refresh not to reload or activate 135 * prefs: (The "false" argument tells refresh not to reload or activate
126 * any plug-ins that would be active otherwise. In contrast, one would 136 * any plug-ins that would be active otherwise. In contrast, one would
127 * use "true" in the case of ASD instead of restarting) 137 * use "true" in the case of ASD instead of restarting)
128 */ 138 */
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 } 196 }
187 197
188 document.write("<\/tbody>"); 198 document.write("<\/tbody>");
189 document.write("<\/table>"); 199 document.write("<\/table>");
190 } 200 }
191 } 201 }
192 </script> 202 </script>
193 </div> 203 </div>
194 </body> 204 </body>
195 </html> 205 </html>
OLDNEW
« chrome/browser/browser_about_handler.cc ('K') | « chrome/browser/browser_about_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698