This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The NAME attribute of form elements has had its valid value rules dramatically loosened by HTML5 vs. HTML4's rules[1], need to call that out in the "changed attributes" section. This is related to but different from bug #9493[2] on the spec; more information (valid values and such) may be found there. [1] http://www.w3.org/TR/html401/types.html#type-name [2] http://www.w3.org/Bugs/Public/show_bug.cgi?id=9493
Simon Pieters indicates[1] that HTML4 didn't have the limits on the NAME attribute I thought, pointing out that NAME is marked[2] as being a cdata token, not a name token. The name token is used for ID, but not for NAME. If he's correct (and I have no reason to believe he isn't, and certainly PHP has happily been using square brackets in control names for a long time), I'm not the only person to misread that previous spec -- in fact, I was misdirected by someone early on and just followed on. Nevertheless, that may mean that this bug is invalid. [1] http://lists.w3.org/Archives/Public/public-html-comments/2010Apr/0050.html [2] http://www.w3.org/TR/html4/interact/forms.html#adef-name-INPUT
INVALID per above.