Bug 1534746 - Fix row fade-out direction for RTL. r=mak
authorDão Gottwald <dao@mozilla.com>
Wed, 13 Mar 2019 11:30:22 +0000
changeset 521693 53388cbb2a6d8a7e5234f0299c61168d03ae6408
parent 521692 7417187bdee40dd267586fc334b52c1e4d2743d0
child 521694 a74bd72021706765c0b158bcf0dc05145b9c6b6d
push id10867
push userdvarga@mozilla.com
push dateThu, 14 Mar 2019 15:20:45 +0000
treeherdermozilla-beta@abad13547875 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs1534746
milestone67.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 1534746 - Fix row fade-out direction for RTL. r=mak Differential Revision: https://phabricator.services.mozilla.com/D23296
browser/themes/shared/urlbar-autocomplete.inc.css
--- a/browser/themes/shared/urlbar-autocomplete.inc.css
+++ b/browser/themes/shared/urlbar-autocomplete.inc.css
@@ -63,16 +63,20 @@
   overflow: hidden;
   display: block;
 }
 
 .urlbarView-row-inner[overflow] {
   mask-image: linear-gradient(to left, transparent, black 2em);
 }
 
+.urlbarView-row-inner[overflow]:-moz-locale-dir(rtl) {
+  mask-image: linear-gradient(to right, transparent, black 2em);
+}
+
 .urlbarView-row:hover {
   background: var(--arrowpanel-dimmed);
 }
 
 .urlbarView-row[selected] {
   background: var(--autocomplete-popup-highlight-background);
   color: var(--autocomplete-popup-highlight-color);
   fill-opacity: 1;