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 195088 36cf96084e123e1e20f9045b94cb51339cfeba69
parent 195087 3a394accaab02446becfcd065a4b4dd7f0fd50c9
child 195089 646e3fbf9826bc74f63bc6d0b4db1358305bf43f
push id27168
push userryanvm@gmail.com
push dateSun, 20 Jul 2014 22:30:25 +0000
treeherdermozilla-central@e9cdcf646d1c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1039175
milestone33.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 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 -->