Bug 638143 - Internal html:input of XUL numberbox shouldn't have type='number'. r=enndeakin
authorMounir Lamouri <mounir.lamouri@gmail.com>
Wed, 02 Mar 2011 22:32:58 +0100
changeset 68083 4624580d88c0e6263d0f8e7e6212a1c14819844c
parent 68082 077e3771a11912cbe8d440f7d3c557259307127c
child 68084 8f077c0228648c817b7c3ffe044027ca1eeb8d7d
push id19497
push usermlamouri@mozilla.com
push dateWed, 13 Apr 2011 18:30:55 +0000
treeherdermozilla-central@4624580d88c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenndeakin
bugs638143
milestone6.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 638143 - Internal html:input of XUL numberbox shouldn't have type='number'. r=enndeakin
toolkit/content/widgets/numberbox.xml
--- a/toolkit/content/widgets/numberbox.xml
+++ b/toolkit/content/widgets/numberbox.xml
@@ -11,17 +11,17 @@
 
     <resources>
       <stylesheet src="chrome://global/skin/numberbox.css"/>
     </resources>
 
     <content>
       <xul:hbox class="textbox-input-box numberbox-input-box" flex="1" xbl:inherits="context,disabled,focused">
         <html:input class="numberbox-input textbox-input" flex="1" anonid="input"
-                    xbl:inherits="onfocus,onblur,value,type,maxlength,disabled,size,readonly,placeholder,tabindex,accesskey"/>
+                    xbl:inherits="onfocus,onblur,value,maxlength,disabled,size,readonly,placeholder,tabindex,accesskey"/>
       </xul:hbox>
       <xul:spinbuttons anonid="buttons" xbl:inherits="disabled,hidden=hidespinbuttons"/>
     </content>
 
     <implementation>
       <field name="_valueEntered">false</field>
       <field name="_spinButtons">null</field>
       <field name="_value">0</field>