Bug 1335010 - mobile/android/themes/core/config.css uses float: inline-*. r=sebastian, a=lizzard
authorTomer Cohen <tomer@tomercohen.com>
Mon, 30 Jan 2017 15:48:38 +0200
changeset 378200 f42494856f83a0db76a6c288bd2faa9cfda7d8ea
parent 378199 a4ab3c577fe8f9f0d17dc31255401a20c93798bb
child 378201 cd8688aa4efa9db37d3b07afbc0549444e38612f
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssebastian, lizzard
bugs1335010
milestone53.0a2
Bug 1335010 - mobile/android/themes/core/config.css uses float: inline-*. r=sebastian, a=lizzard MozReview-Commit-ID: A9yYnF5U2f0
mobile/android/themes/core/config.css
--- a/mobile/android/themes/core/config.css
+++ b/mobile/android/themes/core/config.css
@@ -38,17 +38,21 @@ body {
     height: 2em;
     border: 1px solid transparent;
     border-image-source: url("chrome://browser/skin/images/textfield.png");
     border-image-slice: 1 1 3 1;
     border-image-width: 1px 1px 3px 1px;
     overflow: hidden;
     display: flex;
     flex-direction: row;
-    float: inline-end;
+    float: right;
+}
+
+#filter-container:dir(rtl) {
+    float: left;
 }
 
 #filter-input {
     -moz-appearance: none;
     border: none;
     background-image: none;
     background-color: transparent;
     display: inline-block;
@@ -74,17 +78,21 @@ body {
 #new-pref-toggle-button {
     background-position: center center;
     background-image: url("chrome://browser/skin/images/config-plus.png");
     background-size: 48px 48px;
     height: 48px;
     width: 48px;
     display: inline-block;
     outline-style: none;
-    float: inline-start;
+    float: left;
+}
+
+#new-pref-toggle-button:dir(rtl) {
+    float: right;
 }
 
 #filter-search-button {
     background-image: url("chrome://browser/skin/images/search.png");
     background-size: 32px 32px;
     height: 32px;
     width: 32px;
     display: inline-block;