| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html i18n-values="dir:textdirection"> | 2 <html i18n-values="dir:textdirection"> |
| 3 <head> | 3 <head> |
| 4 <title i18n-content="title"> | 4 <title i18n-content="title"> |
| 5 </title> | 5 </title> |
| 6 <style> | 6 <style> |
| 7 body { | 7 body { |
| 8 background-color: white; | 8 background-color: white; |
| 9 font-family: Helvetica, Arial, sans-serif; | 9 font-family: Helvetica, Arial, sans-serif; |
| 10 margin: 0; | 10 margin: 0; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 #errorDetails { | 99 #errorDetails { |
| 100 color: #777; | 100 color: #777; |
| 101 -webkit-margin-start: 3px; | 101 -webkit-margin-start: 3px; |
| 102 margin-top: 30px; | 102 margin-top: 30px; |
| 103 } | 103 } |
| 104 | 104 |
| 105 .failedUrl { | 105 .failedUrl { |
| 106 word-wrap: break-word; | 106 word-wrap: break-word; |
| 107 } | 107 } |
| 108 |
| 109 #logo-img { |
| 110 /* "Not allowed to load local resource: chrome://theme/IDR_PRODUCT_LOGO", |
| 111 so embed the resource manually. */ |
| 112 content: -webkit-image-set( |
| 113 url('../../app/theme/default_100_percent/%DISTRIBUTION%/product_logo.png')
1x, |
| 114 url('../../app/theme/default_200_percent/%DISTRIBUTION%/product_logo.png')
2x); |
| 115 } |
| 116 |
| 108 </style> | 117 </style> |
| 109 </head> | 118 </head> |
| 110 | 119 |
| 111 <script> | 120 <script> |
| 112 /** | 121 /** |
| 113 * Sets the classes of elements to match their jscontent values. | 122 * Sets the classes of elements to match their jscontent values. |
| 114 * Elements without jscontent values are ignored. | 123 * Elements without jscontent values are ignored. |
| 115 * | 124 * |
| 116 * This allows styles to be applied to nested elements from | 125 * This allows styles to be applied to nested elements from |
| 117 * within GRD files. To work on these elements, this must be | 126 * within GRD files. To work on these elements, this must be |
| (...skipping 17 matching lines...) Expand all Loading... |
| 135 | 144 |
| 136 // The border only uses a gradient when using at least 24-bit color. | 145 // The border only uses a gradient when using at least 24-bit color. |
| 137 if (window.screen.colorDepth >= 24) | 146 if (window.screen.colorDepth >= 24) |
| 138 document.documentElement.setAttribute('high-color-depth', ''); | 147 document.documentElement.setAttribute('high-color-depth', ''); |
| 139 </script> | 148 </script> |
| 140 | 149 |
| 141 <body id="t"> | 150 <body id="t"> |
| 142 <div id="cell"> | 151 <div id="cell"> |
| 143 <div id="box"> | 152 <div id="box"> |
| 144 <h1> | 153 <h1> |
| 145 <img src="../../app/theme/%DISTRIBUTION%/product_logo.png" /> | 154 <img id="logo-img"> |
| 146 <span i18n-content="heading"></span> | 155 <span i18n-content="heading"></span> |
| 147 </h1> | 156 </h1> |
| 148 | 157 |
| 149 <div id="errorSummary" jsselect="summary"> | 158 <div id="errorSummary" jsselect="summary"> |
| 150 <span jsvalues=".innerHTML:msg"></span> | 159 <span jsvalues=".innerHTML:msg"></span> |
| 151 </div> | 160 </div> |
| 152 | 161 |
| 153 <div id="suggestions" jsdisplay="suggestionsHeading"> | 162 <div id="suggestions" jsdisplay="suggestionsHeading"> |
| 154 <h2 i18n-content="suggestionsHeading"></h2> | 163 <h2 i18n-content="suggestionsHeading"></h2> |
| 155 <ul> | 164 <ul> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 185 <span jsvalues=".innerHTML:msg"></span> | 194 <span jsvalues=".innerHTML:msg"></span> |
| 186 </li> | 195 </li> |
| 187 </ul> | 196 </ul> |
| 188 </div> | 197 </div> |
| 189 | 198 |
| 190 <div id="errorDetails" jsselect="details" jscontent="$this"></div> | 199 <div id="errorDetails" jsselect="details" jscontent="$this"></div> |
| 191 </div> | 200 </div> |
| 192 </div> | 201 </div> |
| 193 </body> | 202 </body> |
| 194 </html> | 203 </html> |
| OLD | NEW |