Bug 463891 - textbox padding ignores chrome direction. r=gavin
authorDão Gottwald <dao@mozilla.com>
Wed, 12 Nov 2008 08:06:46 +0100
changeset 21582 9f276c932c2e332ddf215c970b91201c35943d4b
parent 21581 ab0cd5a06045df8f963719b460ce0842ada0291d
child 21583 d463a6310fe883e0f0614aeff191beefe3249066
push id3594
push userdgottwald@mozilla.com
push dateWed, 12 Nov 2008 07:06:58 +0000
treeherdermozilla-central@9f276c932c2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs463891
milestone1.9.1b2pre
Bug 463891 - textbox padding ignores chrome direction. r=gavin
toolkit/themes/gnomestripe/global/textbox.css
toolkit/themes/winstripe/global/textbox.css
--- a/toolkit/themes/gnomestripe/global/textbox.css
+++ b/toolkit/themes/gnomestripe/global/textbox.css
@@ -40,27 +40,27 @@
   == Styles used by the XUL textbox element.
   ======================================================================= */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 @namespace html url("http://www.w3.org/1999/xhtml");
 
 /* ::::: textbox ::::: */
 
-textbox 
-{
+textbox {
   -moz-appearance: textfield;
   cursor: text;
   margin: 2px 4px;
   border: 2px solid;
   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
-  padding: 2px 2px 3px 4px;
+  padding: 2px 2px 3px;
+  -moz-padding-start: 4px;
   background-color: -moz-Field;
   color: -moz-FieldText;
 }
 
 textbox[empty="true"] {
   color: GrayText;
 }
 
--- a/toolkit/themes/winstripe/global/textbox.css
+++ b/toolkit/themes/winstripe/global/textbox.css
@@ -40,27 +40,27 @@
   == Styles used by the XUL textbox element.
   ======================================================================= */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 @namespace html url("http://www.w3.org/1999/xhtml");
 
 /* ::::: textbox ::::: */
 
-textbox 
-{
+textbox {
   -moz-appearance: textfield;
   cursor: text;
   margin: 2px 4px;
   border: 2px solid;
   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
-  padding: 2px 2px 3px 4px;
+  padding: 2px 2px 3px;
+  -moz-padding-start: 4px;
   background-color: -moz-Field;
   color: -moz-FieldText;
 }
 
 textbox[empty="true"] {
   color: GrayText;
 }