mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 14:46:02 +00:00
XUL <textfield> lives.
This commit is contained in:
parent
88438460a7
commit
37dbdefabc
@ -267,6 +267,6 @@ textfield {
|
||||
behavior: url(resource:/chrome/xulBindings.xml#textfield);
|
||||
}
|
||||
|
||||
textarea {
|
||||
textfield[multiline="true"] {
|
||||
behavior: url(resource:/chrome/xulBindings.xml#textarea);
|
||||
}
|
@ -228,6 +228,11 @@
|
||||
<html:input inherits="value,type,maxlength,disabled,size,readonly"/>
|
||||
</xul:html>
|
||||
</content>
|
||||
<handlers>
|
||||
<handler type="focus" value="dump('****focus!!!'); var v = this.anonymousContent[0]; v.firstChild.focus();"/>
|
||||
<handler type="blur" value="var v = this.anonymousContent[0]; v.firstChild.blur();"/>
|
||||
</handlers>
|
||||
|
||||
</binding>
|
||||
|
||||
<binding name="textarea" extends="xul:box">
|
||||
@ -236,5 +241,9 @@
|
||||
<html:textarea inherits="value,disabled,rows,cols,readonly"/>
|
||||
</xul:html>
|
||||
</content>
|
||||
<handlers>
|
||||
<handler type="focus" value="dump('****focus!!!'); var v = this.anonymousContent[0]; v.firstChild.focus();"/>
|
||||
<handler type="blur" value="var v = this.anonymousContent[0]; v.firstChild.blur();"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
Loading…
x
Reference in New Issue
Block a user