Ls child model collection
Object is its first preceding sibling or null if it has no preceding sibling. The last child of an object is its last child or null if it has no children. The first child of an object is its first child or null if it has no children. The root of a tree is any object participating in that tree whose parent is null.Īn object A is called a descendant of an object B, if either A is a child of B or A is a child of anĪn object A is called an ancestor of an object B if and only if B is a descendant of A.Īn object A is called a sibling of an object B, if and only if B and A share the same non-null parent.Īn object A is preceding an object B if A and B are in theĪn object A is following an object B if A and B are in the The root of an object is itself, if its parent is null, or else it is the root of its parent. An object A whose parent is object B is a child of B. Null or an object, and has children, which is an ordered set of objects. In tree order is preorder, depth-first traversal of a tree.Īn object that participates in a tree has a parent, which is either TreesĪ tree is a finite hierarchical tree structure. When extensions are needed, the DOM Standard can be updated accordingly, or a new standardĬan be written that hooks into the provided extensibility hooks for applicable specifications. Some of the terms used in this specification are defined in Encoding, Selectors, Web IDL, XML, and Namespaces in XML. This specification depends on the Infra Standard. 4.2.10 Old-style collections: NodeList and HTMLCollection.
3.3 Using AbortController and AbortSignal objects in.2.3 Legacy extensions to the Window interface.DOM defines a platform-neutral model for events, aborting activities, and node trees.