Bug 408661 - Places Organizer - Back & Forward buttons are reversed in RTL UI. r=dietrich.
authormozilla.mano@sent.com
Thu, 13 Mar 2008 11:24:17 -0700
changeset 13017 45a296496515b3ef1ff0f08631da91834bd11a06
parent 13016 0a34c2dc06f56ced388d8f52fa6e34bf7e5b2b10
child 13018 69e190d9dd95db0e7dfb354473ec0bf3c1971c64
push idunknown
push userunknown
push dateunknown
reviewersdietrich
bugs408661
milestone1.9b5pre
Bug 408661 - Places Organizer - Back & Forward buttons are reversed in RTL UI. r=dietrich.
browser/themes/winstripe/browser/places/organizer.css
--- a/browser/themes/winstripe/browser/places/organizer.css
+++ b/browser/themes/winstripe/browser/places/organizer.css
@@ -1,32 +1,35 @@
 
 /* Toolbar */
 #placesToolbar {
   border: none;
 }
 
-/* back button */
+/* back & forward buttons */
+#back-button, #forward-button {
+  list-style-image: url("chrome://browser/skin/Toolbar.png");
+}
 
-#back-button {
-  list-style-image: url("chrome://browser/skin/Toolbar.png");
+#back-button,
+#forward-button[chromedir="rtl"] {  
   -moz-image-region: rect(0px, 24px, 24px, 0px);
 }
-#back-button[disabled="true"] {
- -moz-image-region: rect(48px, 24px, 72px, 0px) !important;
+#back-button[disabled="true"],
+#forward-button[chromedir="rtl"][disabled="true"] {
+ -moz-image-region: rect(48px, 24px, 72px, 0px);
 }
 
-/* forward button */
-
-#forward-button {
-  list-style-image: url("chrome://browser/skin/Toolbar.png");
+#forward-button,
+#back-button[chromedir="rtl"] {
   -moz-image-region: rect(0px, 48px, 24px, 24px);
 }
-#forward-button[disabled="true"] {
- -moz-image-region: rect(48px, 48px, 72px, 24px) !important;
+#forward-button[disabled="true"],
+#back-button[chromedir="rtl"][disabled="true"] {
+ -moz-image-region: rect(48px, 48px, 72px, 24px);
 }
 
 /* Menu */
 #placesMenu {
   -moz-appearance: none;
   border: none;
 }