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 494855 19165a49129512561ee268e671c9e389b566b489
parent 494854 ef315578d7484d702ed83cf4f9d3d3af20515ad7
child 494856 f44fb4c2bbde378bec8873b4f8ec974c36946734
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8
bugs1491400
milestone64.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 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;
 }