Bug 1458956 - Fix selectors for tabbrowser to use -moz-default-background-color as its default background in high contrast mode. r?mconley draft
authorDão Gottwald <dao@mozilla.com>
Thu, 03 May 2018 19:06:29 +0200
changeset 791169 6fdbd090f2c1cca88495e8f514792a73168cb7f0
parent 791136 35165f43d0b97f500dafb4f0f7b9ca8d91416812
push id108719
push userdgottwald@mozilla.com
push dateThu, 03 May 2018 17:07:05 +0000
reviewersmconley
bugs1458956
milestone61.0a1
Bug 1458956 - Fix selectors for tabbrowser to use -moz-default-background-color as its default background in high contrast mode. r?mconley MozReview-Commit-ID: ICjWQg64Wjx
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -693,18 +693,18 @@ html|*.urlbar-input:-moz-lwtheme::placeh
   min-height: 0;
   padding: 0;
 }
 
 %include ../shared/tabs.inc.css
 
 @media (-moz-windows-default-theme: 0) {
   /* For high contrast themes. */
-  tabbrowser,
-  :root[privatebrowsingmode=temporary] tabbrowser {
+  #tabbrowser-tabpanels,
+  :root[privatebrowsingmode=temporary] #tabbrowser-tabpanels {
     background-color: -moz-default-background-color;
   }
 }
 
 /* tabbrowser-tab focus ring */
 .tabbrowser-tab:focus > .tab-stack > .tab-content {
   outline: 1px dotted;
   outline-offset: -6px;