Bug 1039175 - Fix "Ignore this warning" button position on about:blocked page with RTL locales. r=ehsan
authorAlexander Seleznev <seleznev.ru@gmail.com>
Fri, 18 Jul 2014 23:06:00 -0400
changeset 195044 36cf96084e123e1e20f9045b94cb51339cfeba69
parent 195043 3a394accaab02446becfcd065a4b4dd7f0fd50c9
child 195089 646e3fbf9826bc74f63bc6d0b4db1358305bf43f
push id7828
push userryanvm@gmail.com
push dateSun, 20 Jul 2014 19:03:44 +0000
treeherderfx-team@36cf96084e12 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1039175
milestone33.0a1
Bug 1039175 - Fix "Ignore this warning" button position on about:blocked page with RTL locales. r=ehsan
browser/base/content/blockedSite.xhtml
--- a/browser/base/content/blockedSite.xhtml
+++ b/browser/base/content/blockedSite.xhtml
@@ -138,18 +138,23 @@
         margin: 0;
         padding: 0;
         position: relative;
         top: 23px;
         left: 20px;
         font-size: smaller;
       }
       
+      #ignoreWarningButton:-moz-dir(rtl) {
+        left: auto;
+        right: 20px;
+      }
+      
       #ignoreWarning {
-        text-align: right;
+        text-align: end;
       }
     </style>
   </head>
 
   <body dir="&locale.dir;">
     <div id="errorPageContainer">
     
       <!-- Error Title -->