Expand description
Common HTML lowering. No UI/core runtime, DOM, HTTP or window dependencies.
Modules§
- display
- Shared template-instance data. Static elements have no semantic identities.
- template
- Experimental sparse HTML display declarations, independent of semantic nodes. Finite template slot kinds and shared HTML profile validation.
- view
- Shared display data and named slots used by handwritten code and XML macros.
Structs§
Enums§
Constants§
Traits§
Functions§
- element_
namespace - Namespace is determined solely by the mapper’s finite element vocabulary.
- escape
- escape_
script_ data - Escape already serialized JSON for an HTML script raw-text body. HTML entity escaping is wrong here: script text does not decode "/<.
- normalize
- HTML parsing canonicalizes CR/CRLF and NUL. DOM creation must do so too.
- preflight
- Check descriptor-local HTML constraints without shaping text, allocating styles, reading a host tree or cloning a node’s potentially large value. Creation checks mapping options; patches preserve the existing HTML tag.
- preflight_
place - HTML ancestor checks over the supplied staged semantic tree, never a host lookup. New children need no subtree allocation; ordinary list moves only walk ancestors. A button destination additionally examines live descendants.
- rich_
document - Serialize the finite intrinsic editor document; never accepts raw markup.
- select_
options - Serialize only the finite intrinsic children of a native select.
- serialize
- shape
- shape_
in - Resolve only rich editors’ inherited disabled policy from the supplied semantic tree. Ordinary shapes remain descriptor-local. Intrinsic HTML controls already inherit fieldset behavior in their native host.
- style