зеркало из https://github.com/mozilla/pjs.git
XUL <textfield> lives.
This commit is contained in:
Родитель
16fdea9f7b
Коммит
b58af300fc
|
@ -267,6 +267,6 @@ textfield {
|
||||||
behavior: url(resource:/chrome/xulBindings.xml#textfield);
|
behavior: url(resource:/chrome/xulBindings.xml#textfield);
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textfield[multiline="true"] {
|
||||||
behavior: url(resource:/chrome/xulBindings.xml#textarea);
|
behavior: url(resource:/chrome/xulBindings.xml#textarea);
|
||||||
}
|
}
|
|
@ -228,6 +228,11 @@
|
||||||
<html:input inherits="value,type,maxlength,disabled,size,readonly"/>
|
<html:input inherits="value,type,maxlength,disabled,size,readonly"/>
|
||||||
</xul:html>
|
</xul:html>
|
||||||
</content>
|
</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>
|
||||||
|
|
||||||
<binding name="textarea" extends="xul:box">
|
<binding name="textarea" extends="xul:box">
|
||||||
|
@ -236,5 +241,9 @@
|
||||||
<html:textarea inherits="value,disabled,rows,cols,readonly"/>
|
<html:textarea inherits="value,disabled,rows,cols,readonly"/>
|
||||||
</xul:html>
|
</xul:html>
|
||||||
</content>
|
</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>
|
||||||
</bindings>
|
</bindings>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче