DOM Object:  Node

Property/Method Functional Description Data Test Case
nodeName set/check against CDATA values. also check to see if predefined names are correctly used (#text if node isa TextElement)   cnod000.html  
nodeValue set to various CDATA values   cnod001.html 
nodeType set to valid and invalid integers (e.g. TEXT_NODE == 3 )   cnod002.html 
parentNode add/remove nodes from the DOM tree, checking this value; set it arbitrarily and enusre it is in the tree   cnod003.html
childNodes add/remove nodes to a node's childNodes NodeList and ensure this is equivalent to appendChild, insertBefore, etc.   cnod004.html 
firstChild see that this is always equal to childNodes[0]   cnod005.html
lastChild see that this is always equal to childNodes[ childNodes.length-1]   cnod006.html
previousSibling see that this is always the adjacent node in parentNode's childeNodes list.   cnod007.html
nextSibling see that this is always the adjacent node in parentNode's childeNodes list.   cnod008.html
attributes ensure that this is not null for Elements and do basic tests on it (more will be done with NamedNodeMap)   cnod009.html  
ownerDocument check that document.ownerDocument is null, and that each node in the doc has the property set to cnod.html   cnod010.html
insertBefore() take an HTMLElement node and test insertBefore on a predetermined sequence of new HTMLElements, verifying that the new order of elements is correct   cnod011.html  
replaceChild() replace children with other nodes, making sure to eventually test exceptions   cnod012.html  
removeChild() add children (with children) to a node, then delete selected nodes, invoking document.getElementsById() to ensure that all nodes are accounted for.   cnod013.html  
appendChild() add child nodes to various nodes and traverse the tree to verify their existence   cnod014.html
hasChildNodes() take a node. enusre this returns zero. add/remove nodes, checking this return value each time.   cnod015.html
cloneNode() clone node trees, both deep and non-recursively, and traverse the duplicate, enusuring the duplicate is exactly identical.   cnod016.html  
getNamedItem(name)
get the named Node attribute

cnod017.html
removeNameditem(n)
remove named Node attribute

cnod018.html