Media

Figure

A print-aware wrapper around native figure semantics that requests caption cohesion without replacing figure, image, SVG, or figcaption HTML.

Elementef-print-figure
CapabilityP0 portable
Maturityimplemented / cross-browser evidence
Pagination ownerBrowser / selected renderer

Capability note. Oversized figures may still fragment or scale according to consumer and renderer rules; Folio does not crop them to force a page fit.

Example 1

Image figure

Native figure and figcaption remain the semantic source.

Open standalone print preview

On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.

View HTML
<ef-print-figure>
  <figure>
    <div class='folio-figure-box'>Architecture image</div>
    <figcaption>Figure 1. Application → Folio → renderer.</figcaption>
  </figure>
</ef-print-figure>
Example 2

SVG diagram

Application-generated diagrams remain ordinary SVG inside the wrapper.

Open standalone print preview

On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.

View HTML
<ef-print-figure>
  <figure>
    <svg role='img' aria-label='Three architecture stages' viewBox='0 0 300 70'><rect x='1' y='10' width='80' height='45'></rect><rect x='110' y='10' width='80' height='45'></rect><rect x='219' y='10' width='80' height='45'></rect></svg>
    <figcaption>Three-stage print pipeline.</figcaption>
  </figure>
</ef-print-figure>
Example 3

Evidence figure

Captions receive a restrained print treatment and stay associated with bounded figures where possible.

Open standalone print preview

On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.

View HTML
<ef-print-figure>
  <figure>
    <blockquote>Observed output stayed within printable bounds.</blockquote>
    <figcaption>Figure 3. Geometry experiment summary.</figcaption>
  </figure>
</ef-print-figure>