NativeElixirPdfUtilities.HtmlToPdf.HtmlSelectedContent (native_elixir_pdf_utilities v1.1.0)

View Source

Clones actual selected option child subtrees into initial selected-content nodes.

Selectedness comes from HtmlFormValidator. Authored source and logical trees remain unchanged. Clones have new identities and explicit original-node links; they inherit the destination document, tree scope and placement, not the option's style or any additional resource authorization.

Summary

Functions

Builds initial selected-content clones from a validated authored document.

Functions

compose(dom)

@spec compose(term()) :: {:ok, map()} | {:error, {atom(), map()}}

Builds initial selected-content clones from a validated authored document.