- From: Philippe Le Hegaret <plh@w3.org>
- Date: 28 Aug 2003 15:27:33 -0400
- To: Curt Arnold <carnold@houston.rr.com>
- Cc: WWW DOM <www-dom@w3.org>
On Fri, 2003-08-01 at 00:10, Curt Arnold wrote: > isId() is a declared as a method, though it would be more appropriate as > an attribute. done, but as a read-only attribute. > If made a read-write attribute, then > Element.setIdAttribute(), Element.setIdAttributeNS() and > Element.setAttributeNode() could be eliminated since you could do the > equivalent using Element.getAttributeNode[NS]().isId = true | false. correct, but that would require the implementation to create an attribute node for the invocation of isId. The purpose of the setIdAttribute* is to provide the ability for the element node to be returned by getElementById, which does not require creating an Attr node. Philippe
Received on Thursday, 28 August 2003 15:28:17 UTC