Bug 718278 - Remove chromedir attributes, use -moz-locale-dir instead r+a=Philipp
authorRichard Marti <richard.marti@gmail.com>
Sun, 15 Jan 2012 18:02:25 +0100
changeset 9512 f5cf00dfa02f8bbccd4cbe63bfd0c10cbeb6118f
parent 9511 d9df36db99a34156d7b982ae5c5c0e2914699372
child 9513 e00b8e4f29702c574185e034d0ab5a8a060bba5c
push id335
push userrichard.marti@gmail.com
push dateSun, 15 Jan 2012 17:03:02 +0000
treeherdercomm-aurora@f5cf00dfa02f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs718278
Bug 718278 - Remove chromedir attributes, use -moz-locale-dir instead r+a=Philipp
calendar/base/themes/gnomestripe/calendar-views.css
calendar/base/themes/pinstripe/calendar-views.css
calendar/base/themes/winstripe/calendar-views.css
calendar/lightning/themes/gnomestripe/accountCentral.css
calendar/lightning/themes/winstripe/accountCentral.css
--- a/calendar/base/themes/gnomestripe/calendar-views.css
+++ b/calendar/base/themes/gnomestripe/calendar-views.css
@@ -464,17 +464,17 @@ calendar-editable-item[selected="true"] 
 }
 
 
 /* RTL styles for the main box and children */
 .multiday-view-main-box {
     direction: ltr;
 }
 
-.multiday-view-label-day-box[chromedir="rtl"] {
+.multiday-view-label-day-box:-moz-locale-dir(rtl) {
     direction: rtl;
 }
 
 /* headers horizontal, times vertical */
 .multiday-view-label-box[orient="horizontal"] {
     height: 10px;
 }
 
--- a/calendar/base/themes/pinstripe/calendar-views.css
+++ b/calendar/base/themes/pinstripe/calendar-views.css
@@ -330,17 +330,17 @@ calendar-editable-item[selected="true"] 
 }
 
 
 /* RTL styles for the main box and children */
 .multiday-view-main-box {
     direction: ltr;
 }
 
-.multiday-view-label-day-box[chromedir="rtl"] {
+.multiday-view-label-day-box:-moz-locale-dir(rtl) {
     direction: rtl;
 }
 
 /* headers horizontal, times vertical */
 .multiday-view-label-box[orient="horizontal"] {
     height: 10px;
 }
 
--- a/calendar/base/themes/winstripe/calendar-views.css
+++ b/calendar/base/themes/winstripe/calendar-views.css
@@ -464,17 +464,17 @@ calendar-editable-item[selected="true"] 
 }
 
 
 /* RTL styles for the main box and children */
 .multiday-view-main-box {
     direction: ltr;
 }
 
-.multiday-view-label-day-box[chromedir="rtl"] {
+.multiday-view-label-day-box:-moz-locale-dir(rtl) {
     direction: rtl;
 }
 
 /* headers horizontal, times vertical */
 .multiday-view-label-box[orient="horizontal"] {
     height: 10px;
 }
 
--- a/calendar/lightning/themes/gnomestripe/accountCentral.css
+++ b/calendar/lightning/themes/gnomestripe/accountCentral.css
@@ -29,18 +29,18 @@
  * use your version of this file under the terms of the MPL, indicate your
  * decision by deleting the provisions above and replace them with the notice
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
-#lightning-newCalendar-row > hbox > label[chromedir="rtl"] {
-  background: url(chrome://calendar/skin/cal-icon32.png) right no-repeat !important;
+#lightning-newCalendar-row > hbox > label:-moz-locale-dir(rtl) {
+  background-position: right !important;
 }
 
 #lightning-newCalendar-row > hbox > label {
   background: url(chrome://calendar/skin/cal-icon32.png) no-repeat !important;
   padding-top: .55em;
   padding-bottom: .55em;
   -moz-padding-start: 45px;
 }
--- a/calendar/lightning/themes/winstripe/accountCentral.css
+++ b/calendar/lightning/themes/winstripe/accountCentral.css
@@ -29,18 +29,18 @@
  * use your version of this file under the terms of the MPL, indicate your
  * decision by deleting the provisions above and replace them with the notice
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
-#lightning-newCalendar-row > hbox > label[chromedir="rtl"] {
-  background: url(chrome://calendar/skin/cal-icon32.png) right no-repeat !important;
+#lightning-newCalendar-row > hbox > label:-moz-locale-dir(rtl) {
+  background-position: right !important;
 }
 
 #lightning-newCalendar-row > hbox > label {
   background: url(chrome://calendar/skin/cal-icon32.png) no-repeat !important;
   padding-top: .55em;
   padding-bottom: .55em;
   -moz-padding-start: 45px;
 }