Bug 1411210 - Replace @media not all and (-moz-...) with @media (-moz-...: 0). r=dao
authorKristiyan <dimitr14@uni.coventry.ac.uk>
Thu, 14 Dec 2017 11:50:56 +0100
changeset 448127 ae78c4fe253ab2618972271350f304947b4d4994
parent 448126 dde3cd07dc9fa7ca1de32b1d90b833c8dc5f0b68
child 448128 5b18567e17374cee73f1a72ce4bbb513019c4f19
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1411210
milestone59.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 1411210 - Replace @media not all and (-moz-...) with @media (-moz-...: 0). r=dao MozReview-Commit-ID: CwTjRfX0xnK
browser/themes/osx/browser.css
browser/themes/osx/syncedtabs/sidebar.css
browser/themes/windows/browser-aero.css
browser/themes/windows/browser.css
browser/themes/windows/places/organizer.css
toolkit/themes/mobile/mozapps/plugins/pluginProblem.css
toolkit/themes/osx/global/tabbox.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -86,17 +86,17 @@
  * doesn't reverse the order of the items in the titlebar in RTL mode. */
 .titlebar-placeholder[type="caption-buttons"],
 #titlebar-buttonbox {
   margin-left: 12px;
 }
 
 /* The fullscreen button doesnt show on Yosemite(10.10) or above so dont give it a
    border there */
-@media not all and (-moz-mac-yosemite-theme) {
+@media (-moz-mac-yosemite-theme: 0) {
   .titlebar-placeholder[type="fullscreen-button"] {
     margin-right: 4px;
   }
 }
 
 #main-window:not([tabsintitlebar]) > #titlebar {
   height: 22px; /* The native titlebar on OS X is 22px tall. */
 }
--- a/browser/themes/osx/syncedtabs/sidebar.css
+++ b/browser/themes/osx/syncedtabs/sidebar.css
@@ -38,17 +38,17 @@
 }
 
 .item.client .item-twisty-container {
   min-width: 16px;
   height: 16px;
   background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded");
 }
 
-@media not all and (-moz-mac-yosemite-theme) {
+@media (-moz-mac-yosemite-theme: 0) {
   .item.client.selected .item-twisty-container {
     background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted");
   }
 
   .item.client.selected.closed .item-twisty-container {
     background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted");
   }
 
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -2,17 +2,17 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 %filter substitution
 %define glassActiveBorderColor rgb(37, 44, 51)
 %define glassInactiveBorderColor rgb(102, 102, 102)
 
 @media (-moz-os-version: windows-win7) {
-  @media not all and (-moz-windows-classic) {
+  @media (-moz-windows-classic: 0) {
     #main-window[sizemode="normal"] > #tab-view-deck > #browser-panel > #navigator-toolbox > #toolbar-menubar {
       margin-top: 1px;
     }
   }
 }
 
 @media (-moz-windows-default-theme) {
   .menu-accel,
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -324,17 +324,17 @@
 #main-window[sizemode="maximized"] #titlebar-max {
   -moz-appearance: -moz-window-button-restore;
 }
 
 #titlebar-close {
   -moz-appearance: -moz-window-button-close;
 }
 
-@media not all and (-moz-windows-classic) {
+@media (-moz-windows-classic: 0) {
   #titlebar-min {
     margin-inline-end: 2px;
   }
 }
 
 /* ::::: bookmark menus ::::: */
 
 menu.bookmark-item,
--- a/browser/themes/windows/places/organizer.css
+++ b/browser/themes/windows/places/organizer.css
@@ -133,17 +133,17 @@
   display: none;
 }
 
 #clearDownloadsButton {
   padding-inline-start: 9px;
   padding-inline-end: 9px;
 }
 
-@media not all and (-moz-windows-classic) {
+@media (-moz-windows-classic: 0) {
   #placesToolbox {
     -moz-appearance: none;
     background-color: transparent;
   }
 
   #placesToolbar {
     -moz-appearance: none;
     background-color: -moz-Dialog;
--- a/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css
+++ b/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css
@@ -85,17 +85,17 @@ html|a {
   margin-left: 5px;
 }
 
 .msgTapToPlay,
 .msgClickToPlay {
   text-decoration: underline;
 }
 
-@media not all and (-moz-touch-enabled) {
+@media (-moz-touch-enabled: 0) {
   :-moz-handler-clicktoplay .msgTapToPlay {
     display: none;
   }
 }
 
 @media (-moz-touch-enabled) {
   :-moz-handler-clicktoplay .msgClickToPlay {
     display: none;
--- a/toolkit/themes/osx/global/tabbox.css
+++ b/toolkit/themes/osx/global/tabbox.css
@@ -50,17 +50,17 @@ tab:first-of-type {
 tab:last-of-type {
   padding-inline-end: 2px;
 }
 
 tab[visuallyselected="true"]:not(:-moz-window-inactive) {
   color: #FFF;
 }
 
-@media not all and (-moz-mac-yosemite-theme) {
+@media (-moz-mac-yosemite-theme: 0) {
   tab[visuallyselected="true"] {
     color: #FFF;
     text-shadow: rgba(0, 0, 0, 0.4) 0 1px;
   }
 }
 
 .tab-middle {
   padding: 1px 6px 2px;