- From: Philippe Le Hegaret <plh@w3.org>
- Date: 05 Feb 2002 19:02:07 -0500
- To: Steven Pemberton <steven.pemberton@cwi.nl>
- Cc: WWW DOM <www-dom@w3.org>, HTML WG <w3c-html-wg@w3.org>
Steven, in order to finish addressing the issues from the HTML WG, we would like a clarification: On Fri, 2002-01-18 at 10:59, Steven Pemberton wrote: [[ Mixture of semantics: name and id. The 'name' attribute has zero semantics in XHTML. So HTMLCollection.namedItem should only search for id attributes in XHTML, and ignore 'name' attributes. For XHTML, HTMLDocument.getElementsByName should only return form controls with matching name. ]] should it read [[ Mixture of semantics: name and id. The 'name' attribute has zero semantics in XHTML. So HTMLCollection.namedItem should only search for id attributes in XHTML, and ignore 'name' attributes. For _HTML_, HTMLDocument.getElementsByName should only return form controls with matching name. ]] or [[ Mixture of semantics: name and id. The 'name' attribute has zero semantics in XHTML. So HTMLCollection.namedItem should only search for id attributes in XHTML, and ignore 'name' attributes. For XHTML, name is only relevant in form controls, therefore HTMLDocument.getElementsByName should only return form controls with matching name. ]] According to section 4.10 in http://www.w3.org/TR/xhtml1/#diffs , it doesn't seem that the attribute name is deprecated in forms control too. Otherwise, we are almost done with other issues. As an heads-up, you can look at http://www.w3.org/2001/12/DOM-Level-2-issues (I of course expect to send a complete to the HTML WG in any case) Philippe
Received on Tuesday, 5 February 2002 19:02:10 UTC