Bug 810796 - Fix invalid CSS in forms.css. r=bz
authorMounir Lamouri <mounir.lamouri@gmail.com>
Tue, 20 Nov 2012 18:21:39 +0000
changeset 113798 9195d74558f7b1c84d12101723d52c5110f6cbc0
parent 113797 7e12602b7c600ab5afee3bac8666cf8291f60c84
child 113799 18201f6cee4ce286c343b6cca34be8912fcc3ac1
push id18391
push usermlamouri@mozilla.com
push dateTue, 20 Nov 2012 18:22:06 +0000
treeherdermozilla-inbound@9195d74558f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs810796
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 810796 - Fix invalid CSS in forms.css. r=bz
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;