Lines Matching refs:node
36 * nodes. Not every node in the DOM can have children, so only nodes that can
111 * Returns a duplicate of a given node. You can consider this a
116 * Example: Cloning a Text node will copy both the node and the text it
121 * has been requested. A shallow clone of an Attr node will yield an
124 * NOTE: Clones will always be read/write, even if the node being cloned
176 * set the ownerDocument of this node and its children
193 * Test whether this node has any children. Convenience shorthand
204 * Obtain a NodeList enumerating all children of this node. If there
250 final void lastChild(ChildNode node) {
253 firstChild.previousSibling = node;
258 * Move one or more node(s) to our list of children. Note that this
273 * type that shouldn't be a child of this node, or if newChild is an
274 * ancestor of this node.
280 * this node.
282 * @throws DOMException(NO_MODIFICATION_ALLOWED_ERR) if this node is
310 // node, throw HIERARCHY_REQUEST_ERR before _any_ of the children
313 // which are acceptable to the target node, neither of which is
363 // refChild must be a child of this node (or null)
449 // if we happen to insert just before the cached node, update
450 // the cache to the new node to match the cached index
476 * this node.
478 * @throws DOMException(NO_MODIFICATION_ALLOWED_ERR) if this node is
519 // if the removed node is the cached node
583 * type that shouldn't be a child of this node, or if newChild is
590 * this node.
592 * @throws DOMException(NO_MODIFICATION_ALLOWED_ERR) if this node is
651 // internal method returning whether to take the given node's text content
670 // create a Text node to hold the given content
681 * Count the immediate children of this node. Use to implement
701 // start from the cached node if we have one
722 * NodeList method: Count the immediate children of this node
730 * Return the Nth immediate child of this node, or null if the index is
794 * NodeList method: Return the Nth immediate child of this node, or
813 * cleared if the node is cloned.
933 * Checks the normalized state of this node after inserting a child.
934 * If the inserted child causes this node to be unnormalized, then this
935 * node is flagged accordingly.
938 * <li>The inserted child is a text node and one of its adjacent siblings
939 * is also a text node.
943 * @param insertedChild the child node that was inserted into this node
948 // See if insertion caused this node to be unnormalized.
952 // If an adjacent sibling of the new child is a text node,
953 // flag this node as unnormalized.
961 // then this node is inherently not normalized.
969 * Checks the normalized of this node after removing a child.
970 * If the removed child causes this node to be unnormalized, then this
971 * node is flagged accordingly.
981 // See if removal caused this node to be unnormalized.
983 // flag this node as unnormalized.