Make nsBox more careful about accepting XUL attributes only on XUL elements. (Bug 102440) r=bzbarsky
authorL. David Baron <dbaron@dbaron.org>
Fri, 22 Apr 2011 18:36:24 -0700
changeset 22689 d6635971297159c0702ff42af7ab36b4b4040a72
parent 22688 df59fc963dc8d5024ed7ab5103181710abea86df
child 22690 66d7bf407cd2618cdd282000f6ee23238d82f105
push id13793
push userfrgrahl@gmx.net
push dateMon, 27 Nov 2017 16:30:48 +0000
treeherdercomm-central@85eb5dd6d56a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs102440
Make nsBox more careful about accepting XUL attributes only on XUL elements. (Bug 102440) r=bzbarsky
suite/common/autocomplete/resources/content/autocomplete.xml
--- a/suite/common/autocomplete/resources/content/autocomplete.xml
+++ b/suite/common/autocomplete/resources/content/autocomplete.xml
@@ -17,17 +17,17 @@
       <xul:hbox class="autocomplete-textbox-container" flex="1" align="center">
         <children includes="image|deck|stack|box">
           <xul:image class="autocomplete-icon" allowevents="true"/>
         </children>
 
         <xul:hbox class="textbox-input-box" flex="1" xbl:inherits="context,tooltiptext=inputtooltiptext">
           <children/>
           <html:input anonid="input" class="autocomplete-textbox textbox-input"
-                      flex="1" allowevents="true"
+                      allowevents="true"
                       xbl:inherits="tooltiptext=inputtooltiptext,onfocus,onblur,value,type,maxlength,disabled,size,readonly,placeholder,tabindex,accesskey,mozactionhint,userAction"/>
         </xul:hbox>
         <children includes="hbox"/>
       </xul:hbox>
 
       <xul:dropmarker class="autocomplete-history-dropmarker" allowevents="true"
                       xbl:inherits="open,enablehistory" anonid="historydropmarker"/>