On Friday 22 December 2006 12:37, you wrote: > Hi everyone, > > Me and my co-developer were discussing how attributes are to be treated > within DOM. > > For interface Attr, this paragraph can be found: > > "Attr objects inherit the Node interface, but since they are not actually > child nodes of the element they describe, the DOM does not consider them > part of the document tree. Thus, the Node attributes parentNode, > previousSibling, and nextSibling have a null value for Attr objects. " Also, how should one set ownerElement of the Attr when calling setAttributeNode? Should setAttributeNode do it? The spec doesn't say that, as far as I can tell. Cheers, FransReceived on Friday, 22 December 2006 12:25:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:58 GMT