Bug 998481 - Checked items in subview panels have checkmarks on the wrong side in RTL locales. r=jaws, feedback=mikedeboer, a=lsblakk.
authorMike Conley <mconley@mozilla.com>
Fri, 25 Apr 2014 17:01:59 -0400
changeset 192114 f19024e5e5d53ea3dc1bdee2eccaf1fd9f6992ba
parent 192113 10a8ef2b96c7b3fda6e9f27bac80da0122e97629
child 192115 45fd8b9ec808a23077b18686a4cbe0078ffc6025
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)
reviewersjaws, lsblakk
bugs998481
milestone30.0a2
Bug 998481 - Checked items in subview panels have checkmarks on the wrong side in RTL locales. r=jaws, feedback=mikedeboer, a=lsblakk.
browser/themes/osx/customizableui/panelUIOverlay.css
browser/themes/shared/customizableui/panelUIOverlay.inc.css
--- a/browser/themes/osx/customizableui/panelUIOverlay.css
+++ b/browser/themes/osx/customizableui/panelUIOverlay.css
@@ -94,16 +94,20 @@
 .subviewbutton {
   -moz-padding-start: 18px;
 }
 
 .subviewbutton[checked="true"] {
   background-position: top 5px left 4px;
 }
 
+.subviewbutton[checked="true"]:-moz-locale-dir(rtl) {
+  background-position: top 5px right 4px;
+}
+
 .subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left {
   display: none;
 }
 
 menu.subviewbutton,
 menuitem.subviewbutton:not(.panel-subview-footer) {
   padding-top: 2px;
   padding-bottom: 2px;
--- a/browser/themes/shared/customizableui/panelUIOverlay.inc.css
+++ b/browser/themes/shared/customizableui/panelUIOverlay.inc.css
@@ -1072,16 +1072,20 @@ toolbaritem[overflowedItem=true],
   background-size: 1px 18px;
   box-shadow: 0 0 0 1px hsla(0,0%,100%,.2);
 }
 
 .subviewbutton[checked="true"] {
   background: url("chrome://global/skin/menu/shared-menu-check.png") center left 7px / 11px 11px no-repeat transparent;
 }
 
+.subviewbutton[checked="true"]:-moz-locale-dir(rtl) {
+  background-position: center right 7px;
+}
+
 .subviewbutton > .menu-iconic-left {
   -moz-appearance: none;
   -moz-margin-end: 3px;
 }
 
 menuitem[checked="true"].subviewbutton > .menu-iconic-left {
   visibility: hidden;
 }