From 1eab0124a73d4cbb9ba6a1d9cf0b9e2a8f4b1463 Mon Sep 17 00:00:00 2001 From: Ricky Chien Date: Thu, 24 Aug 2017 11:58:50 +0800 Subject: [PATCH] Bug 1388796 - Remove unexpected horizontal scrollbar in about:preferences r=jaws --HG-- extra : rebase_source : 84dfe24d8d81a14d7be39d4149af4d54ce5068b5 --- .../base/content/aboutDialog-appUpdater.js | 6 +-- .../preferences/in-content-new/main.xul | 42 ++++++++++--------- .../preferences/in-content-new/privacy.xul | 4 +- .../shared/incontentprefs/preferences.inc.css | 33 +++++++++++---- .../in-content-new/preferences.css | 2 + .../themes/shared/in-content/common.inc.css | 2 +- 6 files changed, 56 insertions(+), 33 deletions(-) diff --git a/browser/base/content/aboutDialog-appUpdater.js b/browser/base/content/aboutDialog-appUpdater.js index 8ac796f92ab0..e196f93214fd 100644 --- a/browser/base/content/aboutDialog-appUpdater.js +++ b/browser/base/content/aboutDialog-appUpdater.js @@ -55,7 +55,7 @@ function appUpdater() { let manualURL = Services.urlFormatter.formatURLPref("app.update.url.manual"); let manualLink = document.getElementById("manualLink"); - manualLink.value = manualURL; + manualLink.textContent = manualURL; manualLink.href = manualURL; document.getElementById("failedLink").href = manualURL; @@ -327,7 +327,7 @@ appUpdater.prototype = */ setupDownloadingUI() { this.downloadStatus = document.getElementById("downloadStatus"); - this.downloadStatus.value = + this.downloadStatus.textContent = DownloadUtils.getTransferTotal(0, this.update.selectedPatch.size); this.selectPanel("downloading"); this.aus.addDownloadListener(this); @@ -414,7 +414,7 @@ appUpdater.prototype = * See nsIProgressEventSink.idl */ onProgress(aRequest, aContext, aProgress, aProgressMax) { - this.downloadStatus.value = + this.downloadStatus.textContent = DownloadUtils.getTransferTotal(aProgress, aProgressMax); }, diff --git a/browser/components/preferences/in-content-new/main.xul b/browser/components/preferences/in-content-new/main.xul index c88dffa36bbb..b6fa04f5a6eb 100644 --- a/browser/components/preferences/in-content-new/main.xul +++ b/browser/components/preferences/in-content-new/main.xul @@ -780,54 +780,54 @@ #ifdef MOZ_UPDATER - +