mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
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:
parent
1b06e46683
commit
1e2c571106
@ -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"/>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user