Bug 810796 - Fix invalid CSS in forms.css. r=bz, a=akeybl
authorMounir Lamouri <mounir.lamouri@gmail.com>
Tue, 20 Nov 2012 18:21:39 +0000
changeset 118341 8eb5cd7c5c4219efa6fef39ff409d0b04e5d72d8
parent 118340 91d6bf883dfccda583553e5b7d18050c0fd5092d
child 118342 dab7ec84d88c55eaaf1d7ec328c95bbf9ded65a9
push id2756
push userryanvm@gmail.com
push dateWed, 21 Nov 2012 22:39:29 +0000
treeherdermozilla-aurora@dab7ec84d88c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz, akeybl
bugs810796
milestone19.0a2
Bug 810796 - Fix invalid CSS in forms.css. r=bz, a=akeybl
layout/style/forms.css
--- a/layout/style/forms.css
+++ b/layout/style/forms.css
@@ -76,23 +76,21 @@ input::-moz-placeholder {
   line-height: -moz-block-height;
 }
 
 /* Make sure that the location bar's alignment in RTL mode changes according
    to the input box direction if the user switches the text direction using
    cmd_switchTextDirection (which applies a dir attribute to the input box's
    anonymous div. */
 @-moz-document url-prefix(chrome://) {
-  input.uri-element-right-align:-moz-locale-dir(rtl) > .anonymous-div,
-  input.uri-element-right-align:-moz-locale-dir(rtl)::-moz-placeholder {
+  input.uri-element-right-align:-moz-locale-dir(rtl) > .anonymous-div {
     text-align: right !important;
   }
 
-  input.uri-element-right-align:-moz-locale-dir(rtl) > .anonymous-div[dir=ltr],
-  input.uri-element-right-align:-moz-locale-dir(rtl)::-moz-placeholder[dir=ltr] {
+  input.uri-element-right-align:-moz-locale-dir(rtl) > .anonymous-div[dir=ltr] {
     text-align: left !important;
   }
 }
 
 textarea {
   margin: 1px 0 1px 0;
   border: 2px inset ThreeDFace;
   background-color: -moz-Field;