Bug 1547944 [RTL] Mirror the Separate Window icon r=pbro
authorvishal singh <vishalsingh600700@gmail.com>
Wed, 22 May 2019 07:41:26 +0000
changeset 474931 3f4a4ab9eed068c89e4721294d62a001d205422a
parent 474930 2f20a0d737e1f11d5933671809ad8c0f725a0543
child 474932 baf86b77635c22a5739fcef15e0a9172fd5cbd6b
push id113181
push usershindli@mozilla.com
push dateWed, 22 May 2019 15:39:08 +0000
treeherdermozilla-inbound@bdd76368ddc1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1547944
milestone69.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 1547944 [RTL] Mirror the Separate Window icon r=pbro Before the icon was reverse for rtl . But now it is in correct form. Differential Revision: https://phabricator.services.mozilla.com/D32049
devtools/client/themes/toolbox.css
--- a/devtools/client/themes/toolbox.css
+++ b/devtools/client/themes/toolbox.css
@@ -239,16 +239,20 @@
 #toolbox-meatball-menu-dock-right {
   --menuitem-icon-image: url("chrome://devtools/skin/images/dock-side-right.svg");
 }
 
 #toolbox-meatball-menu-dock-window {
   --menuitem-icon-image: url("chrome://devtools/skin/images/dock-undock.svg");
 }
 
+#toolbox-meatball-menu-dock-window:-moz-locale-dir(rtl) .label::before {
+  transform: scaleX(-1);
+}
+
 #toolbox-meatball-menu-splitconsole {
   --menuitem-icon-image: url("chrome://devtools/skin/images/command-console.svg");
 }
 
 #toolbox-meatball-menu-noautohide {
   --menuitem-icon-image: url("chrome://devtools/skin/images/command-noautohide.svg");
 }