Bug 955983 HTML5 Video player doesn't provide dir=rtl to error messages draft
authorTomer Cohen <tomer@tomercohen.com>
Mon, 26 Dec 2016 16:23:18 +0200
changeset 454073 978c9c807f8cba8d3a839ae80455dd2dd6a9cf8d
parent 454066 ccb41352b15a74bf8bac8ae3fb76a18d32f67c8d
child 454074 c9f80f8bf1c56913b846c3b6a66d22d3093346d8
push id39830
push userbmo:tomer.moz.bugs@tomercohen.com
push dateTue, 27 Dec 2016 23:49:50 +0000
bugs955983
milestone53.0a1
Bug 955983 HTML5 Video player doesn't provide dir=rtl to error messages MozReview-Commit-ID: KvHmimmGz7k
toolkit/content/widgets/videocontrols.css
--- a/toolkit/content/widgets/videocontrols.css
+++ b/toolkit/content/widgets/videocontrols.css
@@ -33,16 +33,20 @@
 .controlsSpacer[hideCursor] {
   cursor: none;
 }
 
 .controlsOverlay[scaled] {
   -moz-box-align: center;
 }
 
+.errorLabel:-moz-locale-dir(rtl) {
+  direction: rtl;
+} 
+
 /* CSS Transitions
  *
  * These are overriden by the default theme; the rules here just 
  * provide a fallback to drive the required transitionend event
  * (in case a 3rd party theme does not provide transitions).
  */
 .controlBar:not([immediate]) {
   transition-property: opacity;