[whatwg] [WF2] Label with empty for attribute

Simon Pieters zcorpan at hotmail.com
Fri Jan 20 04:56:27 PST 2006


Hi,

It is not defined what should happen when a label has an empty for="" 
attribute. Consider the following example:

   <label for="">foo<input></label>

Is the label element part of the .labels DOM attribute for the input? What 
should the label's .control DOM attribute return?

Regards,
Simon Pieters





More information about the whatwg mailing list