Opened 11 years ago
Closed 11 years ago
#10974 closed bug (invalid)
Input buttons inside labels - Only first 'click' bind works
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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 (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 :)
Note: See
TracTickets for help on using
tickets.
per w3c, 'This document was successfully checked as XHTML 1.0 Transitional!'