Bug 1524872 - Mirror the search icon (textbox-search-sign) for RTL r=dao a=RyanVM
authorItiel <itiel_yn8@walla.com>
Tue, 13 Aug 2019 13:17:15 +0000
changeset 545112 638fe2d7d7e92b5d8e91ed655f69c78e95d4f9dd
parent 545111 faf1d9e6579b5b230c062961eb5319d014396a25
child 545113 5d9128d7056f78f1632c3feeb350d547fdef04df
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, RyanVM
bugs1524872
milestone69.0
Bug 1524872 - Mirror the search icon (textbox-search-sign) for RTL r=dao a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D40710
toolkit/themes/windows/global/textbox.css
--- a/toolkit/themes/windows/global/textbox.css
+++ b/toolkit/themes/windows/global/textbox.css
@@ -80,16 +80,17 @@ textbox:not([searchbutton]) > .textbox-s
   list-style-image: url(chrome://global/skin/icons/search-textbox.svg);
   margin-inline-end: 5px;
 }
 
 .textbox-search-icon[searchbutton] {
   list-style-image: url(chrome://global/skin/icons/search-textbox.svg);
 }
 
+.textbox-search-sign:-moz-locale-dir(rtl),
 .textbox-search-icon:-moz-locale-dir(rtl) {
   transform: scaleX(-1);
 }
 
 .textbox-search-icon[searchbutton]:not([disabled]) {
   cursor: pointer;
 }