Bug 1377302 - Support fill='context-fill' for WebExtension browser-actions. r=dao,mattw
authorJared Wein <jwein@mozilla.com>
Thu, 06 Jul 2017 17:18:52 -0400
changeset 367829 657ef58ae035
parent 367828 d83718fd4da9
child 367830 a97c16caf744
push id32147
push userkwierso@gmail.com
push dateSat, 08 Jul 2017 00:22:09 +0000
treeherdermozilla-central@06c1a0dc0fd8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, mattw
bugs1377302
milestone56.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 1377302 - Support fill='context-fill' for WebExtension browser-actions. r=dao,mattw MozReview-Commit-ID: 5qZxCkWUOlc
browser/themes/shared/toolbarbutton-icons.inc.css
--- a/browser/themes/shared/toolbarbutton-icons.inc.css
+++ b/browser/themes/shared/toolbarbutton-icons.inc.css
@@ -1,20 +1,20 @@
 :root {
   --toolbarbutton-icon-fill: #4c4c4c;
   --toolbarbutton-icon-fill-inverted: #fff;
   --toolbarbutton-icon-fill-attention: #177ee5;
 }
 
-:-moz-any(@primaryToolbarButtons@) {
+.toolbarbutton-1 {
   -moz-context-properties: fill;
   fill: var(--toolbarbutton-icon-fill);
 }
 
-toolbar[brighttext] :-moz-any(@primaryToolbarButtons@) {
+toolbar[brighttext] .toolbarbutton-1 {
   fill: var(--toolbarbutton-icon-fill-inverted);
 }
 
 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
 %ifdef MOZ_PHOTON_THEME
 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
 #reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
 %endif