[whatwg] Form controls inside a label but not labelled by it

On 2/17/11 8:15 AM, Anne van Kesteren wrote:
> If you nest elements with activation behavior only the innermost is
> activated.

<textarea> doesn't have activation behavior.  So if I have:

   <label><textarea></textarea></label>

and I click the textarea, then the <label> will be activated unless we 
add some sort of special-case for this.

> You can also test this by e.g. nesting <a> elements and see
> which link is followed.

<a> has activation behavior (if it has an href and so forth).  So the 
situation is totally different.

-Boris

Received on Thursday, 17 February 2011 07:25:43 UTC