derek/yui3-1 — comment on commit b90d3fc725a0a4b62fcc7dd8b3516571fd8582ff
File: src/button/js/core.js line 56
By ericf:

@derek I think the only thing we should support for buttons with nested `"yui3-button-label"` elements is using them as the place where we get/set the `label`'s `text` from. The whole point of support nested structures is to allow users to put in whatever HTML they want inside their buttons (as per the element type allows) and they cue us on where the label text for the button exists. Like this:

```html

Done

```

I read through @rgrove's concerns on IRC, and I think they can be taken care of by sticking to `value`/`test` getting/setting, even for the nested label element.

(I would have put this comment in the main comments area the end, but GitHub wasn't doing it for some reason :-/