Structsยง
- Flat
Tree ๐Boundary - Flat
Tree ๐Selection - Selection ๐
- https://w3c.github.io/selection-api/#dfn-selection
- Selection
Live ๐Range Notification - Visible
Selection ๐Flag Update - Visible
Selection ๐Traversal
Enumsยง
- Direction ๐
- Flat
Tree ๐Node Position - Used
User ๐Select - Used value of
user-select: like the computed value but excludesauto.
Constantsยง
Functionsยง
- compare_
shadow_ ๐including_ dom_ positions - Compare two shadow-including DOM positions by first projecting them into
a shared root and then comparing the two positions. This function assumes
that the two positions share a
Document. - nodes_
have_ ๐same_ shadow_ root - position_
in_ ๐flat_ tree_ for_ selection - Find the position of a node and offset in the flat tree for the purposes of selection boundaries. This projects the given position onto the flat tree, accounting for origin nodes that may not actually be in the flat tree at all.
- project_
into_ ๐shared_ tree - Project the position given by
container_aandoffset_ainto a root that also containstarget. Iftargetis not supplied then project the position into theDocumentroot.