![]() Let s be the result of parse a selector selectors. To scope-match a selectors string selectors against a node, run these steps: The ordered set serializer takes a set and returns the concatenation of set using U+0020 SPACE. ![]() įor each token in inputTokens, append token to tokens.Let inputTokens be the result of splitting input on ASCII whitespace. The ordered set parser takes a string input and then runs these steps: The index of an object is its number of preceding siblings, or 0 if it has none. Its first preceding sibling or null if it has no preceding sibling.įirst following sibling or null if it has no following 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. Object B if A and B are in the same tree and A comes after B in tree order. Object B if A and B are in the same tree and A comes before B in tree order. 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Įither A is a child of B or A is a child of an object C that is a descendant of B.Īn object A is called an ancestor of an object B if and only if B is a descendant of A.Īn object B, if and only if B and A share the same non-null parent. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |