Bug 1506113 - With the native title bar enabled, stop using -moz-win-glass on Windows 10 / high contrast. r=Felipe
authorDão Gottwald <dao@mozilla.com>
Wed, 26 Dec 2018 16:11:03 +0000
changeset 509030 10279adac5c0a08a718c44b845f758581cca0ef6
parent 509029 792bc67640ca3156a647a00f2bdfc4fb87b53cf3
child 509031 a25969bf715e63e8d6072c248aa94743e3b704bc
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFelipe
bugs1506113
milestone66.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 1506113 - With the native title bar enabled, stop using -moz-win-glass on Windows 10 / high contrast. r=Felipe Differential Revision: https://phabricator.services.mozilla.com/D15322
browser/themes/windows/browser-aero.css
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -83,25 +83,25 @@
         :root[tabsintitlebar] .tab-label:-moz-window-inactive {
           /* Calculated to match the opacity change of Windows Explorer
              titlebar text change for inactive windows. */
           opacity: .6;
         }
       }
 
       @media (-moz-windows-default-theme: 0) {
-        :root {
+        :root[tabsintitlebar] {
           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 */
-        #browser {
+        :root[tabsintitlebar] #browser {
           -moz-appearance: -moz-win-exclude-glass;
         }
       }
 
       .titlebar-buttonbox,
       .titlebar-button {
         -moz-appearance: none !important;
       }