Bug 1511850 - Simplify @media not all and (-moz-os-version: ...) queries. r=dao
authorAndrew Goupil <andrewc.goupil@gmail.com>
Thu, 06 Dec 2018 20:30:09 +0100
changeset 449511 d42abd4f7941db6d412df94678684d1d40a67cff
parent 449510 90189bd84466d74e64d4eb2a33138152e84b241c
child 449512 1233b674e1cd073e2fb216b3ac0b61a9d70d9448
push id110384
push userdgottwald@mozilla.com
push dateThu, 06 Dec 2018 19:30:22 +0000
treeherdermozilla-inbound@d42abd4f7941 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1511850
milestone65.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 1511850 - Simplify @media not all and (-moz-os-version: ...) queries. r=dao
browser/themes/windows/browser-aero.css
browser/themes/windows/browser.css
browser/themes/windows/customizableui/panelUI.css
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -41,18 +41,18 @@
 @media (-moz-windows-default-theme) {
   .menu-accel,
   .menu-iconic-accel {
     color: graytext;
   }
 }
 
 @media (-moz-windows-compositor) {
-  @media not all and (-moz-os-version: windows-win7) {
-    @media not all and (-moz-os-version: windows-win8) {
+  @media not (-moz-os-version: windows-win7) {
+    @media not (-moz-os-version: windows-win8) {
       @media (-moz-windows-default-theme) {
         :root:not(:-moz-lwtheme) {
           background-color: hsl(0, 0%, 78%);
         }
 
         @media (-moz-windows-accent-color-in-titlebar: 0) {
           :root[sizemode=normal][tabsintitlebar] {
             border-top: 1px solid rgba(0,0,0,.7);
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -89,17 +89,17 @@
   color: -moz-menuhovertext;
 }
 
 /* Use a different color only on Windows 8 and higher in inactive windows.
  * On Win 7, the menubar fog disappears for inactive windows, and renders gray
  * illegible.
  */
 @media (-moz-windows-default-theme) {
-  @media not all and (-moz-os-version: windows-win7) {
+  @media not (-moz-os-version: windows-win7) {
     #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive {
       color: ThreeDShadow;
     }
   }
 }
 
 @media not (-moz-os-version: windows-win7) {
   @media not (-moz-os-version: windows-win8) {
--- a/browser/themes/windows/customizableui/panelUI.css
+++ b/browser/themes/windows/customizableui/panelUI.css
@@ -39,17 +39,17 @@
 /* Disabled empty item looks too small otherwise, because it has no icon. */
 menuitem.subviewbutton[disabled]:not(.menuitem-iconic) {
   /* This is 16px for an icon + 3px for its margins + 1px for its padding +
    * 2px for its border, see above */
   min-height: 22px;
 }
 
 /* Win8 and beyond. */
-@media not all and (-moz-os-version: windows-win7) {
+@media not (-moz-os-version: windows-win7) {
   #BMB_bookmarksPopup menupopup[placespopup=true] > hbox,
   #edit-controls@inAnyPanel@,
   #zoom-controls@inAnyPanel@,
   #edit-controls@inAnyPanel@ > toolbarbutton,
   #zoom-controls@inAnyPanel@ > toolbarbutton {
     border-radius: 0;
   }
 }