[html5] bubbling events on labels

Diego Perini diego.perini at gmail.com
Tue Apr 27 04:36:31 PDT 2010


I was looking to a probable bug but before filing a ticket with vendors I
would like you to review this behavior.

   <label>
     <input type="checkbox">
     <a href="#" >Enable</a>
   </label>

The behavior in Firefox/Opera and in Safari/Chrome is different. It seems
Safari/Chrome are discarding the click bubbling at the link level, thus
never reaching the label and not toggling the checkbox.

Should a click on the link make the input checked ?

Thank you in advance, sincerely

Diego Perini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20100427/ba39cb44/attachment-0001.htm>


More information about the Help mailing list