Bug 591626 - :-moz-placeholder is now implemented, uncomment corresponding theme code. r=dao
authorWes <kwierso@gmail.com>
Tue, 31 Aug 2010 21:28:41 +0200
changeset 51821 55f521e7639b28effe6a136e90aa0880aa94ef4a
parent 51820 c7951a4c1dc2ae5942aaa2027cb496404d52a3e0
child 51822 0152fbafc5208ce8d7c56cb11180d9f9bc8725f1
push id15439
push userdgottwald@mozilla.com
push dateWed, 01 Sep 2010 05:47:47 +0000
treeherdermozilla-central@e9e0fe038a5a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs591626
milestone2.0b6pre
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 591626 - :-moz-placeholder is now implemented, uncomment corresponding theme code. r=dao
browser/themes/pinstripe/browser/browser.css
browser/themes/winstripe/browser/browser-aero.css
browser/themes/winstripe/browser/browser.css
layout/reftests/editor/xul/input.css
toolkit/themes/winstripe/global/textbox-aero.css
--- a/browser/themes/pinstripe/browser/browser.css
+++ b/browser/themes/pinstripe/browser/browser.css
@@ -1234,21 +1234,19 @@ richlistitem[type~="action"][actiontype=
   background-color: #666 !important;
   color: #fff !important;
 }
 
 #editBMPanel_namePicker[droppable="false"] > .menulist-editable-box > html|*.menulist-editable-input {
   color: inherit;
 }
 
-/*
 #editBMPanel_tagsField > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
   color: #bbb !important;
 }
-*/
 
 #editBMPanel_tagsField[focused="true"],
 #editBMPanel_namePicker[droppable="false"][focused="true"] > .menulist-editable-box {
   outline: 2px solid -moz-mac-focusring;
   outline-offset: -1px;
   -moz-outline-radius: 1px;
   background-color: #eee !important;
   color: #000 !important;
--- a/browser/themes/winstripe/browser/browser-aero.css
+++ b/browser/themes/winstripe/browser/browser-aero.css
@@ -66,22 +66,20 @@
 
   #urlbar,
   .searchbar-textbox {
     background-color: rgba(255,255,255,.725);
     @navbarTextboxCustomBorder@
     color: black;
   }
 
-  /*XXX :-moz-placeholder isn't implemented yet (bug 457801)
   #urlbar > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder,
   .searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
     color: #777;
   }
-  */
 
   #urlbar:hover,
   .searchbar-textbox:hover {
     background-color: rgba(255,255,255,.898);
   }
 
   #urlbar[focused="true"],
   .searchbar-textbox[focused="true"] {
--- a/browser/themes/winstripe/browser/browser.css
+++ b/browser/themes/winstripe/browser/browser.css
@@ -919,22 +919,20 @@ toolbar:not([iconsize="small"])[mode="ic
 
 #urlbar:-moz-lwtheme,
 .searchbar-textbox:-moz-lwtheme {
   background-color: rgba(255,255,255,.8);
   @navbarTextboxCustomBorder@
   color: black;
 }
 
-/*
 #urlbar:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder,
 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
   color: #777;
 }
-*/
 
 #urlbar:-moz-lwtheme[focused="true"],
 .searchbar-textbox:-moz-lwtheme[focused="true"] {
   background-color: white;
 }
 
 #urlbar-container {
   -moz-box-orient: horizontal;
--- a/layout/reftests/editor/xul/input.css
+++ b/layout/reftests/editor/xul/input.css
@@ -36,21 +36,19 @@ html|input, html|textarea {
 html|input.ac {
   padding:  0 3px !important;
 }
 
 html|input.empty {
   color: graytext;
 }
 
-/*
 html|input.empty:-moz-system-metric(windows-default-theme) {
   font-style: italic;
 }
-*/
 
 html|input.num {
   text-align: end;
 }
 
 #mac html|input.num {
   -moz-margin-end: 8px;
 }
--- a/toolkit/themes/winstripe/global/textbox-aero.css
+++ b/toolkit/themes/winstripe/global/textbox-aero.css
@@ -1,11 +1,6 @@
 %include textbox.css
 
-/*
- * Make sure to uncomment the corresponsing code in layout/reftests/editor/xul/input.css
- * when removing this comment.
- */
-/*
 textbox html|*.textbox-input:-moz-placeholder:-moz-system-metric(windows-default-theme) {
   font-style: italic;
 }
-*/
+