Bug 1495189 - Remove glyph-dropdown{,@2x}.png and replace usages with arrow-dropdown-12.svg. r=jaws
authorIrvin Ives Lau <lauirvin98@gmail.com>
Wed, 12 Dec 2018 19:20:02 +0100
changeset 450262 fcc5588a9a195c59486a87920e2ed3e2cdb5d224
parent 450261 5f4d93cef87c4ea3a4d1afd3d24ced03973a3a9e
child 450263 20d117d3ed6be09f5385492247acbad67489aece
child 450312 6f21533f643edc0729216fcc1a2fd6c1b638e536
push id110465
push userntim.bugs@gmail.com
push dateWed, 12 Dec 2018 18:24:30 +0000
treeherdermozilla-inbound@fcc5588a9a19 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1495189
milestone66.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 1495189 - Remove glyph-dropdown{,@2x}.png and replace usages with arrow-dropdown-12.svg. r=jaws
browser/themes/osx/browser.css
toolkit/themes/osx/global/icons/glyph-dropdown.png
toolkit/themes/osx/global/icons/glyph-dropdown@2x.png
toolkit/themes/osx/global/jar.mn
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -777,31 +777,23 @@ button.translate-infobar-element[anonid=
 
 button.translate-infobar-element.options-menu-button {
   padding-inline-start: 0.5em;
   padding-inline-end: 0;
 }
 
 button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker {
   display: -moz-box;
-  list-style-image: url("chrome://global/skin/icons/glyph-dropdown.png");
+  -moz-context-properties: fill;
+  fill: currentColor;
+  list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
   padding: 0;
   margin: 0;
 }
 
-@media (min-resolution: 2dppx) {
-  button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker {
-    list-style-image: url("chrome://global/skin/icons/glyph-dropdown@2x.png");
-  }
-
-  button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker > .dropmarker-icon {
-    width: 8px;
-  }
-}
-
 menulist.translate-infobar-element {
   text-shadow: 0 1px 1px #FEFFFE;
   border: 1px solid;
   border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2);
   box-shadow: 0 1px 1px 0 #FFFFFF, inset 0 2px 2px 0 #FFFFFF;
   background-color: #F1F1F1;
   background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.1));
   color: #333333;
@@ -823,27 +815,17 @@ menulist.translate-infobar-element:hover
 
 menulist.translate-infobar-element[open="true"] {
   background-image: linear-gradient(rgba(255,255,255,0.1),
                                     rgba(255,255,255,0.6));
 }
 
 menulist.translate-infobar-element > .menulist-dropmarker {
   display: -moz-box;
-  list-style-image: url("chrome://global/skin/icons/glyph-dropdown.png");
-}
-
-@media (min-resolution: 2dppx) {
-  menulist.translate-infobar-element > .menulist-dropmarker {
-    list-style-image: url("chrome://global/skin/icons/glyph-dropdown@2x.png");
-  }
-
-  menulist.translate-infobar-element > .menulist-dropmarker > .dropmarker-icon {
-    width: 8px;
-  }
+  list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
 }
 
 .popup-notification-body[popupid="addon-progress"],
 .popup-notification-body[popupid="addon-install-confirmation"] {
   width: 28em;
   max-width: 28em;
 }
 
deleted file mode 100644
index fa08515836f986f26bef72f32002d6b28569a548..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 0d513c155f9842fc251a483d3a3f6578f224b58b..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
--- a/toolkit/themes/osx/global/jar.mn
+++ b/toolkit/themes/osx/global/jar.mn
@@ -46,18 +46,16 @@ toolkit.jar:
   skin/classic/global/arrow/arrow-up.gif                             (arrow/arrow-up.gif)
   skin/classic/global/arrow/panelarrow-horizontal.svg                (arrow/panelarrow-horizontal.svg)
   skin/classic/global/arrow/panelarrow-vertical.svg                  (arrow/panelarrow-vertical.svg)
   skin/classic/global/checkbox/cbox-check.gif                        (checkbox/cbox-check.gif)
   skin/classic/global/dirListing/dirListing.css                      (dirListing/dirListing.css)
   skin/classic/global/dirListing/folder.png                          (dirListing/folder.png)
   skin/classic/global/dirListing/up.png                              (dirListing/up.png)
   skin/classic/global/icons/blocklist_favicon.png                    (icons/blocklist_favicon.png)
-  skin/classic/global/icons/glyph-dropdown.png                       (icons/glyph-dropdown.png)
-  skin/classic/global/icons/glyph-dropdown@2x.png                    (icons/glyph-dropdown@2x.png)
   skin/classic/global/icons/search-textbox.svg                       (icons/search-textbox.svg)
   skin/classic/global/icons/searchfield-cancel.svg                   (icons/searchfield-cancel.svg)
   skin/classic/global/icons/warning-64.png                           (icons/warning-64.png)
   skin/classic/global/icons/warning-large.png                        (icons/warning-large.png)
   skin/classic/global/icons/error-16.png                             (icons/error-16.png)
   skin/classic/global/icons/error-64.png                             (icons/error-64.png)
   skin/classic/global/icons/question-16.png                          (icons/question-16.png)
   skin/classic/global/icons/question-64.png                          (icons/question-64.png)