Bug 830767 - Implement about:mozilla for B2G - HTML part. r=Pike
authorJulien Wajsberg <jwajsberg@mozilla.com>
Tue, 22 Jan 2013 15:04:23 +0100
changeset 119611 ec47765fbad0153a7640547c83e9be171eb59724
parent 119610 55b63d585275e5e09725481f672ce7ef7079d471
child 119612 0822c62978d158c3caf851e4729e51ea0ab6a93d
push id24208
push userryanvm@gmail.com
push dateWed, 23 Jan 2013 16:13:14 +0000
treeherdermozilla-central@35e0c12f4332 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPike
bugs830767
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 830767 - Implement about:mozilla for B2G - HTML part. r=Pike
toolkit/content/mozilla.xhtml
--- a/toolkit/content/mozilla.xhtml
+++ b/toolkit/content/mozilla.xhtml
@@ -1,30 +1,32 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
-    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
+<!DOCTYPE html
 [
   <!ENTITY % mozillaDTD SYSTEM "chrome://global/locale/mozilla.dtd" >
   %mozillaDTD;
   <!ENTITY % directionDTD SYSTEM "chrome://global/locale/global.dtd" >
   %directionDTD;
 ]>
 
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>&mozilla.title;</title>
-<style type="text/css">
+  <head>
+    <meta charset='utf-8' />
+    <title>&mozilla.title.15.1;</title>
+
+<style>
 html {
-  background: maroon;
+  background: maroon radial-gradient( circle, #a01010 0%, #800000 80%) center center / cover no-repeat;
   color: white;
   font-style: italic;
+  text-rendering: optimizeLegibility;
+  min-height: 100%;
 }
 
 #moztext {
   margin-top: 15%;
   font-size: 1.1em;
   font-family: serif;
   text-align: center;
   line-height: 1.5;
@@ -42,20 +44,23 @@ em {
 }
 
 a {
   text-decoration: none;
   color: white;
 }
 </style>
 </head>
+
 <body dir="&locale.dir;">
 
-<p id="moztext">
-&mozilla.quote;
-</p>
+<section>
+  <p id="moztext">
+  &mozilla.quote.15.1;
+  </p>
 
-<p id="from">
-&mozilla.from;
-</p>
+  <p id="from">
+  &mozilla.from.15.1;
+  </p>
+</section>
 
 </body>
 </html>