[Australis] Bug 979501: update overflow chevron in RTL mode. r=Gijs
authorMike de Boer <mdeboer@mozilla.com>
Thu, 06 Mar 2014 10:52:46 -0500
changeset 189479 d6c7dd429f69aded7433f57e61c65a1f0dccaee4
parent 189478 566318203819c2bdb00fe88e125f9025097f3a8c
child 189480 ccbe695b5f40aaf897bd8825f0ef4a92e66ac535
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs979501
milestone30.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
[Australis] Bug 979501: update overflow chevron in RTL mode. r=Gijs
browser/themes/osx/browser.css
browser/themes/shared/toolbarbuttons.inc.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -980,16 +980,20 @@ toolbar .toolbarbutton-1:not([type="menu
   #nav-bar-overflow-button:hover:active:not([disabled="true"]) {
     -moz-image-region: rect(36px, 1224px, 72px, 1188px);
   }
 
   #nav-bar-overflow-button[open] {
     -moz-image-region: rect(72px, 1224px, 108px, 1188px);
   }
 
+  #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+    transform: scaleX(-1);
+  }
+
   #tabview-button {
     -moz-image-region: rect(0, 1296px, 36px, 1260px);
   }
 
   #tabview-button@toolbarButtonPressed@ {
     -moz-image-region: rect(36px, 1296px, 72px, 1260px);
   }
 
--- a/browser/themes/shared/toolbarbuttons.inc.css
+++ b/browser/themes/shared/toolbarbuttons.inc.css
@@ -131,11 +131,15 @@
 #webrtc-status-button:not(@inAnyPanel@) {
   -moz-image-region: rect(0, 594px, 18px, 576px);
 }
 
 #nav-bar-overflow-button {
   -moz-image-region: rect(0, 612px, 18px, 594px);
 }
 
+#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+  transform: scaleX(-1);
+}
+
 #tabview-button {
   -moz-image-region: rect(0, 648px, 18px, 630px);
 }