Skip to main content

Module node

Module node 

Source
Expand description

The nodes themsleves, and their data.

Modules§

script_custom_element
Native indexing and mutation records for script custom elements.

Structs§

Attribute
A tag attribute, e.g. class="test" in <div class="test" ...>.
AttributeNode
Identity and retained contents of an attribute exposed as an Attr.
Attributes
CanvasData
DocumentData
Data specific to the Document root node.
ElementData
ImageResourceData
ListItemLayout
Node
NodeFlags
RasterImageData
ScrollbarRef
A specific scrollbar: one axis of one scroll container.
SelectData
The selectedness of a <select> element’s list of options, plus whether its drop-down is showing.
ShadowRootData
Data associated with a NodeData::ShadowRoot node.
TextBrush
Parley Brush type for Blitz which contains the Blitz node id
TextInputData
TextLayout
TextNodeData

Enums§

DisplayOuter
GeneratedTextInputEvent
ImageData
ListItemLayoutPosition
Marker
MarkupNode
Document syntax that generates no layout box.
NodeData
The different kinds of nodes in the DOM.
NodeKind
ScrollbarColor
The computed value of scrollbar-color (css-scrollbars-1). A local mirror of the stylo type, which isn’t exposed to the servo engine yet (servo/stylo#413). Colors are fully resolved (no currentColor).
ScrollbarWidth
The computed value of scrollbar-width (css-scrollbars-1). A local mirror of the stylo type, which isn’t exposed to the servo engine yet (servo/stylo#413).
ShadowRootMode
The encapsulation mode of a shadow root.
SpecialElementData
Heterogeneous data that depends on the element’s type.
SpecialElementType
Status
TextGranularity
How much text one click selects.

Type Aliases§

AttrAtom
An attribute’s value, interned so identical values are stored once.