Bug 1585971 - Fix chrome root element styling. r=bgrins
authorBrendan Dahl <bdahl@mozilla.com>
Thu, 03 Oct 2019 19:39:55 +0000
changeset 496229 b58ea6f54a8bf864702f94f746fc265fbd786fc0
parent 496228 46c1d4bde8d44e821ad01e39aae82b4ae7f72f2d
child 496230 e11ca970b00b93d424a5422df890000c62304d66
push id36647
push usernerli@mozilla.com
push dateFri, 04 Oct 2019 04:09:18 +0000
treeherdermozilla-central@678d4d2c3c4d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1585971, 1583403
milestone71.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 1585971 - Fix chrome root element styling. r=bgrins In bug 1583403, some styling was moved from a "window,dialog,wizard" section to ":root" which changed the specificity and overrode styles in common.inc.css. Changing common.inc.css to also use ":root" fixes the issue. Differential Revision: https://phabricator.services.mozilla.com/D48090
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -145,19 +145,17 @@
 
     --card-outline-color: var(--grey-60);
 
     scrollbar-color: rgba(249,249,250,.4) rgba(20,20,25,.3);
   }
 }
 }
 
-html|html,
-xul|page,
-xul|window {
+:root {
   font: message-box;
   -moz-appearance: none;
   background-color: var(--in-content-page-background);
   color: var(--in-content-page-color);
 }
 
 html|body {
   font-size: 15px;