Ticket #10974 (closed bug: invalid)
Input buttons inside labels - Only first 'click' bind works
| Reported by: | thezoggy@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Here is an example, click on 1111 it works fine. click on 2222 notice it fires off 2222 then 1111. If you delete the label it's in then everything works fine.
I can't find anything that says this is invalid html..
Change History
comment:2 Changed 18 months ago by ajpiano
- Status changed from new to closed
- Resolution set to invalid
http://www.w3.org/TR/html/dtds.html <!--
Each label must not contain more than ONE field Label elements shouldn't be nested.
-->
http://dev.w3.org/html5/markup/label.html The label element may contain at most one descendant input element, button element, select element, or textarea element.
Sounds like you have a bug to report to the w3c validator :)
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

per w3c, 'This document was successfully checked as XHTML 1.0 Transitional!'