Expand description
§document-session-api
The contracts an engine implements to be hosted: the retained session
traits (SessionEngine, DocumentSession) and their input, clip, find
and report vocabulary; the accessibility projection an engine produces;
the document-capability declaration; page capture; and the engine-id
namespace with the genet render-rung ladder.
This is the engine-facing half of inker, split out under the platform
boundary plan (mere design_docs/mere_docs/implementation_strategy/
2026-09-02_platform_boundary_and_repository_topology_plan.md, P1) so
that Genet’s engines depend on a crate Genet owns, and inker, the
controller that selects and orchestrates engines, can move to Mere and
depend downward on this. inker re-exports everything here, so its paths
still resolve for its consumers. Frame-type generic and paint-free.
Re-exports§
pub use text_input::SessionTextInputRect;pub use text_input::SessionTextInputState;pub use a11y::A11yCapability;pub use a11y::DocumentA11yAction;pub use a11y::DocumentA11yActionData;pub use a11y::DocumentA11yActionRequest;pub use a11y::DocumentA11yBounds;pub use a11y::DocumentA11yClickTarget;pub use a11y::DocumentA11yHasPopup;pub use a11y::DocumentA11yLive;pub use a11y::DocumentA11yNode;pub use a11y::DocumentA11yNodeId;pub use a11y::DocumentA11yOrientation;pub use a11y::DocumentA11yPoint;pub use a11y::DocumentA11yProjection;pub use a11y::DocumentA11yRole;pub use a11y::DocumentA11yState;pub use a11y::DocumentA11ySupport;pub use a11y::DocumentA11ySupportError;pub use a11y::DocumentA11yToggled;pub use capabilities::CapabilityStatus;pub use capabilities::DocumentCapabilities;pub use capabilities::DocumentCapabilityStatus;pub use capabilities::WebFeatureStatus;pub use page_capture::CssExtent;pub use page_capture::CssPoint;pub use page_capture::PageCaptureImageArtifact;pub use page_capture::PageCaptureOutput;pub use page_capture::PageCaptureRequest;pub use page_capture::PageCaptureRequestId;pub use page_capture::PageCaptureScope;pub use page_capture::PageCaptureViewportFacts;pub use session_engine::ContentLineage;pub use session_engine::ContentReport;pub use session_engine::DocumentClip;pub use session_engine::DocumentClipArtifact;pub use session_engine::DocumentClipArtifactRole;pub use session_engine::DocumentFindDirection;pub use session_engine::DocumentFindMatch;pub use session_engine::DocumentFindQuery;pub use session_engine::DocumentFindReveal;pub use session_engine::DocumentFindState;pub use session_engine::DocumentSession;pub use session_engine::DocumentZoomState;pub use session_engine::EngineKindIndex;pub use session_engine::EngineKinds;pub use session_engine::OutlineEntry;pub use session_engine::SessionButtonState;pub use session_engine::SessionClick;pub use session_engine::SessionCursor;pub use session_engine::SessionEffect;pub use session_engine::SessionEngine;pub use session_engine::SessionError;pub use session_engine::SessionExternalTextureDraw;pub use session_engine::SessionFocusDirection;pub use session_engine::SessionFormMethod;pub use session_engine::SessionDocumentRequest;pub use session_engine::SessionEncodedFormSubmission;pub use session_engine::SessionRequestSpawnResult;pub use session_engine::SessionFormSubmission;pub use session_engine::SessionIme;pub use session_engine::SessionInput;pub use session_engine::SessionInputResult;pub use session_engine::SessionKey;pub use session_engine::SessionLink;pub use session_engine::SessionModifiers;pub use session_engine::SessionPendingWork;pub use session_engine::SessionPointerButton;pub use session_engine::SessionRegistry;pub use session_engine::SessionScrollKey;pub use session_engine::SessionSpawnRequest;pub use session_engine::SessionTextTarget;pub use engine_ids::*;
Modules§
- a11y
- Accessibility capability contract (R0 invariant: every surface declares what it can expose to the a11y tree; degradation is declared, never silent). Accessibility contract — the invariant every content surface declares about what it can expose to the accessibility tree, plus the renderer-neutral document projection that carries those semantics to a host.
- capabilities
- Shared retained/hosted document-control capability vocabulary. Shared document-control capability vocabulary.
- engine_
ids - The engine-id namespace and the genet render-rung ladder. The engine-id namespace and the genet render-rung ladder.
- page_
capture - Shared page-capture request/result vocabulary. Host-owned requests and engine-reported results for page capture.
- session_
engine - Session-engine traits and registry: retained document sessions producing paint frames (the genet HTML lanes, smolweb native). Session-engine traits and registry — the third engine kind (2026-07-10 session-engines plan).
- text_
input - Focused text-control metadata and logical caret geometry. Focused native text-control observations, without document values or IDs.