[XForms] Show labels before element, alerts/help/hint after. Bug 308455, r=smaug+doronr, patch by Peter Nunn

This commit is contained in:
allan%beaufour.dk 2005-09-16 11:00:31 +00:00
Родитель 00181d6608
Коммит d388529d9f
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -135,7 +135,7 @@
<content>
<html:span anonid="content"></html:span>
<html:span anonid="anoncontent">
<children/>
<children/>
</html:span>
</content>
<implementation implements="nsIXFormsUIWidget">
@ -162,13 +162,14 @@
<binding id="xformswidget-input"
extends="chrome://xforms/content/xforms.xml#xformswidget-base">
<content>
<children/>
<children includes="label"/>
<html:input anonid="control"
onblur="this.parentNode.delegate.value = this.value;"
onclick="this.parentNode._change();"
onkeyup="this.parentNode._change();"
onkeypress="if (event.keyCode == event.DOM_VK_RETURN) this.parentNode.dispatchDOMActivate();"
xbl:inherits="accesskey"/>
<children/>
</content>
<implementation implements="nsIXFormsUIWidget">
@ -276,11 +277,12 @@
<binding id="xformswidget-textarea"
extends="chrome://xforms/content/xforms.xml#xformswidget-base">
<content>
<children/>
<children includes="label"/>
<html:textarea anonid="control"
onblur="this.parentNode.delegate.value = this.value;"
onkeyup="this.parentNode._change();"
xbl:inherits="accesskey"/>
<children/>
</content>
<implementation implements="nsIXFormsUIWidget">