Running content

Footer

A semantic document footer with three regions and explicit running-page intent while preserving a visible P0 fallback. Slots name physical positions: left, center and right keep their edges even when a region is omitted or the document is right-to-left.

Elementef-print-footer
CapabilityP0 in-flow · P1/P2 running capability
Maturityimplemented / capability-bound
Pagination ownerBrowser / selected renderer

Capability note. Portable browsers do not all expose the same page-margin feature set. repeat='page' must not be described as universally repeated output.

Example 1

Document footer

A one-time footer remains ordinary readable document content.

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-document>
  <p>Report body.</p>
  <ef-print-footer>
    <span slot='left'>Document EF-104</span>
    <span slot='right'>Internal</span>
  </ef-print-footer>
</ef-print-document>
Example 2

Footer with page-number intent

The page-number child remains explicit about its renderer dependency.

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-document>
  <ef-print-footer repeat='page'>
    <span slot='left'>Confidential</span>
    <span slot='right'><ef-print-page-number format='page-of-pages'>Page number supplied by renderer</ef-print-page-number></span>
  </ef-print-footer>
</ef-print-document>
Example 3

Centered closing line

Use unslotted content when a three-region layout is unnecessary.

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-document>
  <ef-print-footer>
    <span>Prepared by Echelon Foundry</span>
  </ef-print-footer>
</ef-print-document>