Bug 1167178 - The newtab option menu items are not correctly aligned in RTL builds r?emtwo draft
authorTomer Cohen <tomer@tomercohen.com>
Sun, 22 Jan 2017 15:29:25 +0200
changeset 464772 e08bef4959f1dfe43fd60e9aa5b8688426a70319
parent 464624 cbe9e237471d946b1a008c8805b38e4b2b8ad671
child 542981 01cfb1dce15607fe8eb9977f767193ebb601c19c
push id42421
push userbmo:tomer.moz.bugs@tomercohen.com
push dateSun, 22 Jan 2017 14:57:24 +0000
reviewersemtwo
bugs1167178
milestone53.0a1
Bug 1167178 - The newtab option menu items are not correctly aligned in RTL builds r?emtwo MozReview-Commit-ID: CpNoU9qBQEW
browser/base/content/newtab/newTab.css
--- a/browser/base/content/newtab/newTab.css
+++ b/browser/base/content/newtab/newTab.css
@@ -563,22 +563,22 @@ body.compact #newtab-search-container {
 
 .newtab-customize-panel-item,
 .newtab-customize-complex-option {
   display: block;
   text-align: start;
   background-color: #F9F9F9;
 }
 
-.newtab-customize-panel-item[selected]:-moz-locale-dir(rtl) {
+.newtab-customize-panel-item[selected]:dir(rtl){
   background-position: right 15px center;
 }
 
-.newtab-customize-complex-option:hover > .selectable:not([selected]):-moz-locale-dir(rtl),
-.selectable:not([selected]):hover:-moz-locale-dir(rtl) {
+.newtab-customize-complex-option:hover > .selectable:not([selected]):dir(rtl),
+.selectable:not([selected]):hover:dir(rtl) {
   background-position: right 15px center;
 }
 
 .newtab-customize-panel-item:not([selected]),
 .newtab-customize-panel-subitem:not([selected]){
   color: #7A7A7A;
 }