Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

label wrapping checkbox triggers DOM_HIERARCHY_ERR #3688

Closed
fcheslack opened this Issue · 1 comment

2 participants

@fcheslack

A label tag wrapping a checkbox triggers a DOM_HIERARCHY_ERR in the checkboxradio _create.
see http://jsfiddle.net/fcheslack/JJmqu/1/

Edit: happens on all browsers I've tried. Desktop chrome and firefox on Kubuntu 11.10 and android browsers on ICS (android browser, chrome for android, and firefox)

@fcheslack

http://www.w3.org/TR/html4/interact/forms.html#h-17.9

edit: this was in response to a since deleted comment that input tags are not valid inside labels. One of the examples in the linked rec uses that pattern and calls it implicit association of a label with a control element.

@johnbender johnbender closed this in 77bfb5a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.