Bug 1385813 - [Form Autofill] Set the width of edit address dialog on html markup rather than in css r=lchang
authorScott Wu <scottcwwu@gmail.com>
Mon, 31 Jul 2017 16:48:57 +0800
changeset 372624 5e66fd586165313da8fd88d81ef39a284893831c
parent 372623 4fa7c5c735923b93a79869e57a692e61c721c87e
child 372625 c47b8ff381219ab9b1c63386f13f9f010a571e1f
push id32282
push userkwierso@gmail.com
push dateFri, 04 Aug 2017 00:01:29 +0000
treeherdermozilla-central@5742919ec43f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslchang
bugs1385813
milestone57.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 1385813 - [Form Autofill] Set the width of edit address dialog on html markup rather than in css r=lchang MozReview-Commit-ID: FtpIt0G76O9
browser/extensions/formautofill/content/editAddress.xhtml
browser/extensions/formautofill/skin/shared/editAddress.css
--- a/browser/extensions/formautofill/content/editAddress.xhtml
+++ b/browser/extensions/formautofill/content/editAddress.xhtml
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- 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/. -->
 <!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" width="620">
 <head>
   <title data-localization="addNewDialogTitle"/>
   <link rel="stylesheet" href="chrome://formautofill-shared/skin/editAddress.css" />
   <link rel="stylesheet" href="chrome://formautofill/skin/editAddress.css" />
   <script src="chrome://formautofill/content/editAddress.js"></script>
 </head>
 <body>
   <form autocomplete="off">
--- a/browser/extensions/formautofill/skin/shared/editAddress.css
+++ b/browser/extensions/formautofill/skin/shared/editAddress.css
@@ -1,16 +1,12 @@
 /* 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 {
-  width: 620px;
-}
-
 body {
   font-size: 1rem;
 }
 
 form,
 label,
 div,
 p {