Bug 1326065 - [rtl] Images error message is reversed on RTL draft
authorTomer Cohen <tomer@tomercohen.com>
Wed, 28 Dec 2016 19:12:51 +0200
changeset 454224 82dd1ed7dcfbd5b9f0c57a87b8dc9b9e83d9fd0c
parent 454075 53d7a8e18d19b26dd058d410069cab4e04894ce1
child 455042 8bd7f965a03a399693870852b8fc2feca2900b66
push id39876
push userbmo:tomer.moz.bugs@tomercohen.com
push dateWed, 28 Dec 2016 17:13:48 +0000
bugs1326065
milestone53.0a1
Bug 1326065 - [rtl] Images error message is reversed on RTL MozReview-Commit-ID: 4WrSiEVqXCM
layout/style/TopLevelImageDocument.css
--- a/layout/style/TopLevelImageDocument.css
+++ b/layout/style/TopLevelImageDocument.css
@@ -3,16 +3,20 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
   This CSS stylesheet defines the rules to be applied to ImageDocuments that
   are top level (e.g. not iframes).
 */
 
+html:-moz-locale-dir(rtl) {
+  direction: rtl;
+}
+
 @media not print {
   body {
     margin: 0;
   }
 
   img {
     text-align: center;
     position: absolute;