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 367785 657ef58ae035
parent 367784 d83718fd4da9
child 367786 a97c16caf744
push id46099
push usermwein@mozilla.com
push dateFri, 07 Jul 2017 11:45:54 +0000
treeherderautoland@657ef58ae035 [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