mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
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:
parent
946b3e3e0a
commit
fbcec24c11
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user