Bug 1599258 - Ensure that unexpected body elements don't end up with display:-moz-box r=Gijs a=jcristau
authorKirk Steuber <ksteuber@mozilla.com>
Mon, 02 Dec 2019 21:02:00 +0000
changeset 566680 ee5eb4cfe6414eeea88d2bf7b973b01333de6ae2
parent 566679 f7c6c838e79df777942723c5abdd0662acf8b04d
child 566681 849518df51c9527b9d8bdcd35eadcd5a6fec532f
push id12373
push userccoroiu@mozilla.com
push dateWed, 04 Dec 2019 10:47:12 +0000
treeherdermozilla-beta@b69378d81dcf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, jcristau
bugs1599258
milestone72.0
Bug 1599258 - Ensure that unexpected body elements don't end up with display:-moz-box r=Gijs a=jcristau Differential Revision: https://phabricator.services.mozilla.com/D55531
browser/components/preferences/in-content/preferences.xhtml
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/components/preferences/in-content/preferences.xhtml
+++ b/browser/components/preferences/in-content/preferences.xhtml
@@ -58,17 +58,18 @@
   <script src="chrome://browser/content/utilityOverlay.js"/>
   <script src="chrome://global/content/preferencesBindings.js"/>
   <script src="chrome://browser/content/preferences/in-content/preferences.js"/>
   <script src="chrome://browser/content/preferences/in-content/extensionControlled.js"/>
   <script src="chrome://browser/content/preferences/in-content/findInPage.js"/>
   <script src="chrome://browser/content/preferences/in-content/subdialogs.js"/>
 </head>
 
-<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+           id="preferences-body">
 
   <stringbundle id="pkiBundle"
                 src="chrome://pippki/locale/pippki.properties"/>
   <stringbundle id="browserBundle"
                 src="chrome://browser/locale/browser.properties"/>
 
   <stack id="preferences-stack" flex="1">
   <hbox flex="1">
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -22,17 +22,17 @@
 body {
   margin: 0;
   padding: 0;
   height: 100%;
   width: 100%;
   overflow: hidden;
 }
 
-body {
+#preferences-body {
   display: -moz-box;
   -moz-box-orient: vertical;
 }
 
 * {
   -moz-user-select: text;
 }