Bug 1401314 - Flip the search box images in the preferences when Firefox is running in RTL mode. r?gijs draft
authorJared Wein <jwein@mozilla.com>
Fri, 22 Sep 2017 10:17:12 -0400
changeset 669603 69b796e956b55fb4fd12139c226ba7bedbab8b9b
parent 668408 b14c75b83d0226333b1240466ea9f07cfb206ff3
child 732999 3df1072f72db21bb617f87e2edb251aa2d777f0d
push id81375
push userbmo:jaws@mozilla.com
push dateMon, 25 Sep 2017 01:49:24 +0000
reviewersgijs
bugs1401314
milestone58.0a1
Bug 1401314 - Flip the search box images in the preferences when Firefox is running in RTL mode. r?gijs MozReview-Commit-ID: DUGDnNDFvFc
browser/themes/shared/incontentprefs/search.css
--- a/browser/themes/shared/incontentprefs/search.css
+++ b/browser/themes/shared/incontentprefs/search.css
@@ -16,16 +16,20 @@
   /* Allow a little visual space to separate the radio from the image above it. */
   margin-top: 10px;
 }
 
 .searchBarShownImage  {
   list-style-image: url("chrome://browser/skin/preferences/in-content/search-bar.svg");
 }
 
+.searchBarImage:-moz-locale-dir(rtl) {
+  transform: scaleX(-1);
+}
+
 #defaultEngine {
  margin-inline-start: 0;
 }
 
 #defaultEngine > .menulist-label-box > .menulist-icon {
   height: 16px;
 }