Bug 1491400 - Cut off inheritance for dropmarkers within other widgets where -moz-image-region might be set for the primary icon. r=Standard8
authorDão Gottwald <dao@mozilla.com>
Tue, 02 Oct 2018 12:19:07 +0000
changeset 487516 19165a49129512561ee268e671c9e389b566b489
parent 487515 ef315578d7484d702ed83cf4f9d3d3af20515ad7
child 487517 f44fb4c2bbde378bec8873b4f8ec974c36946734
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewersStandard8
bugs1491400
milestone64.0a1
Bug 1491400 - Cut off inheritance for dropmarkers within other widgets where -moz-image-region might be set for the primary icon. r=Standard8 Differential Revision: https://phabricator.services.mozilla.com/D7399
toolkit/themes/linux/global/dropmarker.css
toolkit/themes/osx/global/dropmarker.css
toolkit/themes/windows/global/dropmarker.css
--- a/toolkit/themes/linux/global/dropmarker.css
+++ b/toolkit/themes/linux/global/dropmarker.css
@@ -1,7 +1,10 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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/. */
 
 dropmarker {
   -moz-appearance: -moz-menulist-button;
+  /* Cut off inheritance for dropmarkers within other widgets where
+     -moz-image-region might be set for the primary icon. */
+  -moz-image-region: auto;
 }
--- a/toolkit/themes/osx/global/dropmarker.css
+++ b/toolkit/themes/osx/global/dropmarker.css
@@ -1,8 +1,11 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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/. */
 
 dropmarker {
   -moz-appearance: -moz-menulist-button;
   width: 16px;
+  /* Cut off inheritance for dropmarkers within other widgets where
+     -moz-image-region might be set for the primary icon. */
+  -moz-image-region: auto;
 }
--- a/toolkit/themes/windows/global/dropmarker.css
+++ b/toolkit/themes/windows/global/dropmarker.css
@@ -1,9 +1,12 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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/. */
 
 dropmarker {
   -moz-appearance: -moz-menulist-button;
   width: 16px;
   height: 16px;
+  /* Cut off inheritance for dropmarkers within other widgets where
+     -moz-image-region might be set for the primary icon. */
+  -moz-image-region: auto;
 }