Bug 1458956 - Fix selectors for tabbrowser to use -moz-default-background-color as its default background in high contrast mode. r=mconley
authorDão Gottwald <dao@mozilla.com>
Thu, 03 May 2018 19:06:29 +0200
changeset 416916 b7efdfb3decd763c069c05b8e6398914de8a8396
parent 416915 6e73121c7b6980bb182b541bf9e5915af6d78c00
child 416917 a1abfeb6a79aa5f64263fc42873122b5576e43ef
push id33943
push usercsabou@mozilla.com
push dateFri, 04 May 2018 17:19:55 +0000
treeherdermozilla-central@ef1db4e8bf06 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1458956
milestone61.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 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;