Bug 180512: Textboxes do not support context attribute overriding default context menu. Patch by Alex Vincent <ajvincent@juno.com>, r=timeless, sr=jag

This commit is contained in:
jaggernaut%netscape.com 2003-06-19 04:28:10 +00:00
parent 1b06e46683
commit 1e2c571106
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
<xul:image class="autocomplete-icon" allowevents="true"/>
</children>
<xul:hbox class="textbox-input-box" flex="1" xbl:inherits="tooltiptext=inputtooltiptext">
<xul:hbox class="textbox-input-box" flex="1" xbl:inherits="context,tooltiptext=inputtooltiptext">
<html:input anonid="input" class="autocomplete-textbox textbox-input"
flex="1" allowevents="true"
xbl:inherits="tooltiptext=inputtooltiptext,onfocus,onblur,value,type,maxlength,disabled,size,readonly,userAction"/>

View File

@ -17,7 +17,7 @@
</resources>
<content>
<xul:hbox class="textbox-input-box" flex="1">
<xul:hbox class="textbox-input-box" flex="1" xbl:inherits="context">
<html:input class="textbox-input" flex="1" anonid="input"
xbl:inherits="onfocus,onblur,value,type,maxlength,disabled,size,readonly,tabindex,accesskey"/>
</xul:hbox>
@ -159,7 +159,7 @@
<binding id="textarea" extends="chrome://global/content/bindings/textbox.xml#textbox">
<content>
<xul:hbox class="textbox-input-box" flex="1">
<xul:hbox class="textbox-input-box" flex="1" xbl:inherits="context">
<html:textarea class="textbox-textarea" flex="1" anonid="input"
xbl:inherits="onfocus,onblur,value,disabled,rows,cols,readonly,wrap"/>
</xul:hbox>