Bug 1523578 - In high contrast mode on Windows 10, don't override the lwtheme window background. r=ntim, a=RyanVM
authorDão Gottwald <dao@mozilla.com>
Thu, 31 Jan 2019 19:09:08 +0000
changeset 515815 e31b4c03e372ed023b78c8e9662d768c53bfb0aa
parent 515814 9fc3e1479c32ea16c88de1669252a5478a2b40e2
child 515816 617b5ae30c05521e63f774a7b6bc3083e5f866fe
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim, RyanVM
bugs1523578
milestone66.0
Bug 1523578 - In high contrast mode on Windows 10, don't override the lwtheme window background. r=ntim, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D18197
browser/themes/windows/browser-aero.css
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -84,18 +84,21 @@
           /* Calculated to match the opacity change of Windows Explorer
              titlebar text change for inactive windows. */
           opacity: .6;
         }
       }
 
       @media (-moz-windows-default-theme: 0) {
         :root[tabsintitlebar] {
+          -moz-appearance: -moz-win-glass;
+        }
+
+        :root[tabsintitlebar]:not(:-moz-lwtheme) {
           background-color: transparent;
-          -moz-appearance: -moz-win-glass;
         }
 
         /* On win10, if we don't set this on the entire browser container including
          * the sidebar, if the sidebar is open the accent color bleeds through in
          * the titlebar */
         :root[tabsintitlebar] #browser {
           -moz-appearance: -moz-win-exclude-glass;
         }