User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 <xf:select ref="/example/select"> <xf:label>Flavors</xf:label> <xf:choices> <!-- You cannot see the label --> <xf:label ref="/example/label"/> <xf:item> <xf:label ref="/example/label"/> <xf:value>v</xf:value> </xf:choices> </xf:select> It is true for <select appearance="compact"/> and <select appearance="full"/>. Error code lines: http://lxr.mozilla.org/mozilla/source/extensions/xforms/resources/content/select.xml#334 http://lxr.mozilla.org/mozilla/source/extensions/xforms/resources/content/select.xml#645 Reproducible: Always
For bug fixing label control can realize textValue property like it proposes nsIXFormsLabelElement interface.
Created attachment 198423 [details] [diff] [review] patch
Created attachment 198424 [details] [diff] [review] patch
Comment on attachment 198424 [details] [diff] [review] patch Seems like a good plan to clone them instead. But I do not know if there was a reason for not to. Doron'll answer that I guess :) r=me
Label can contain arbitrary tags. If label will be cloned then choice label can have custom look. For example: <xf:choices> <xf:label><span style="color: blue">It's a label</span></xf:label> <xf:item
checked into trunk
Reopening bug since the patch hasn't been checked into the branch, yet.
checked into branch.