- From: Philippe Le Hegaret <plh@w3.org>
- Date: Thu, 22 Mar 2001 13:02:04 -0500
- To: Paolo Casarini <casarini@CS.UniBO.IT>
- Cc: www-dom@w3.org
Paolo Casarini wrote: > > If I have a readonly Document Node, and I call getElementByTagName on it, > should I return a readonly Nodelist? > > Is this right also for readonly Element Node? Well, a NodeList is not really readonly. The Nodes contained in the NodeList can be readonly. If you ask for the childrens of a readonly element node, they will be readonly by definition [1]. So all the nodes contained in this NodeList will be read only. Philippe [1] http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/glossary.html#dt-readonly-node
Received on Thursday, 22 March 2001 13:02:05 UTC