This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9494 - NAME attribute change needs to be listed
Summary: NAME attribute change needs to be listed
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 differences from HTML4 (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: HTML WG Bugzilla archive list
QA Contact: Anne
URL: http://dev.w3.org/html5/html4-differe...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 06:04 UTC by T.J. Crowder
Modified: 2010-04-12 08:33 UTC (History)
3 users (show)

See Also:


Attachments

Description T.J. Crowder 2010-04-12 06:04:55 UTC
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
Comment 1 T.J. Crowder 2010-04-12 07:34:52 UTC
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
Comment 2 Anne 2010-04-12 08:33:20 UTC
INVALID per above.