Bug 1508778 - [RTL] Background image overlapping the text in about:sessionrestore r=Gijs
authorQinghao_Jack_Song <songqing@msu.edu>
Thu, 22 Nov 2018 19:47:27 +0000
changeset 506959 5250566855534d4afa64e6ad50878724365e8103
parent 506958 76fb27eae36a4c9b9c01b2a71de2b535cf3d3643
child 506960 d4cccc324ba89e52e90aebe4fe98753cb00df13d
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1508778
milestone65.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 1508778 - [RTL] Background image overlapping the text in about:sessionrestore r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D12666
browser/themes/shared/aboutSessionRestore.css
--- a/browser/themes/shared/aboutSessionRestore.css
+++ b/browser/themes/shared/aboutSessionRestore.css
@@ -12,20 +12,21 @@
   background-position: left center;
   min-height: 300px;
 }
 
 .title {
   background-image: none;
 }
 
-body[dir="rtl"] .description-wrapper {
+.description-wrapper:dir(rtl) {
   background-position: right center;
 }
-body[dir="rtl"] #tabsToggle:after {
+
+#tabsToggle:dir(rtl):after {
   background-position: left center;
 }
 
 #tabsToggle {
   cursor: pointer;
   color: #0a84ff !important;
   -moz-context-properties: fill;
   fill: currentColor;