Bug 356419. LABEL of PANEL and PANEL don't have LABEL_FOR/BY relations. Patch by Nian Liu. r=mano, aaronlev.

This commit is contained in:
aaronleventhal%moonset.net 2006-10-26 14:42:32 +00:00
parent 946b3e3e0a
commit fbcec24c11

View File

@ -44,6 +44,15 @@
xbl:inherits="default,value=label,crop,accesskey"/>
</children>
</content>
<implementation>
<constructor>
if (this.parentNode.id) {
document.getAnonymousNodes(this)[1]
.setAttribute("control", this.parentNode.id);
}
</constructor>
</implementation>
</binding>
</bindings>