Bug 1306942 - Fix all-tabs-menu position in RTL locales. r=ntim
authorTowkir Ahmed <towkir17@gmail.com>
Fri, 28 Oct 2016 01:50:00 -0400
changeset 320040 e22d4c0e0f9dfa9e20f6452276c14d5faa84d2ef
parent 320039 c9847c40b56c88a4dad6c5d43db002b597dd694b
child 320041 f4459d4ba9bad96caee8ec37b3ffde872fbab42f
push id20749
push userryanvm@gmail.com
push dateSat, 29 Oct 2016 13:21:21 +0000
treeherderfx-team@1b170b39ed6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim
bugs1306942
milestone52.0a1
Bug 1306942 - Fix all-tabs-menu position in RTL locales. r=ntim
devtools/client/shared/components/tabs/tabs.css
--- a/devtools/client/shared/components/tabs/tabs.css
+++ b/devtools/client/shared/components/tabs/tabs.css
@@ -37,34 +37,26 @@
 
 .tabs .tab-panel {
   height: 100%;
 }
 
 .tabs .all-tabs-menu  {
   position: absolute;
   top: 0;
-  right: 0;
+  offset-inline-end: 0;
   width: 15px;
   height: 100%;
-  border-style: solid;
-  border-width: 0;
-  border-inline-start-width: 1px;
-  border-color: var(--theme-splitter-color);
+  border-inline-start: 1px solid var(--theme-splitter-color);
   background: url("chrome://devtools/skin/images/dropmarker.svg");
   background-repeat: no-repeat;
   background-position: center;
   background-color: var(--theme-tab-toolbar-background);
 }
 
-.tabs .all-tabs-menu:-moz-locale-dir(rtl) {
-  right: unset;
-  left: 0;
-}
-
 /* Light Theme */
 
 .theme-dark .tabs,
 .theme-light .tabs {
   background: var(--theme-body-background);
 }
 
 .theme-dark .tabs .tabs-navigation,