Bug 617570 - editable menulist doshould accept the placeholder attribute. r=neil a=gavin
authorDaniel Glazman <daniel@glazman.org>
Sat, 11 Dec 2010 09:38:31 +0100
changeset 59114 61361e67bfc41a2ca5b0b5f9667f1736fa28fb36
parent 59113 e42d81b3e0ccc79066cd3514446ae4f881b4bff2
child 59115 caeca9c6dea623a7ecc129068f65205352b2f20f
push id17536
push userdgottwald@mozilla.com
push dateSat, 11 Dec 2010 08:39:03 +0000
treeherdermozilla-central@61361e67bfc4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersneil, gavin
bugs617570
milestone2.0b8pre
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 617570 - editable menulist doshould accept the placeholder attribute. r=neil a=gavin
toolkit/content/widgets/menulist.xml
--- a/toolkit/content/widgets/menulist.xml
+++ b/toolkit/content/widgets/menulist.xml
@@ -407,17 +407,17 @@
       </destructor>
     </implementation>
   </binding>
 
   <binding id="menulist-editable" extends="chrome://global/content/bindings/menulist.xml#menulist">
     <content sizetopopup="pref">
       <xul:hbox class="menulist-editable-box textbox-input-box" xbl:inherits="context,disabled,readonly,focused" flex="1">
         <html:input class="menulist-editable-input" flex="1" anonid="input" allowevents="true"
-                    xbl:inherits="value=label,value,disabled,tabindex,readonly"/>
+                    xbl:inherits="value=label,value,disabled,tabindex,readonly,placeholder"/>
       </xul:hbox>
       <xul:dropmarker class="menulist-dropmarker" type="menu"
                       xbl:inherits="open,disabled,parentfocused=focused"/>
       <children includes="menupopup"/>
     </content>
 
     <implementation>
       <method name="_selectInputFieldValueInList">