Supported browser rendering

View Source

The HTML renderer supports a document-oriented subset of browser rendering for reports, invoices, statements, forms, and labels. Use the overview below to choose a layout, then follow the linked reference for supported values and restrictions.

Supported behavior

AreaWhat you can use
HTML and textHeadings, paragraphs, inline emphasis, lists, links, character references, and static form controls
CSSSupported selectors, the cascade, custom properties, generated content, colors, borders, and spacing
Sizing and layoutBlock and inline layout, flexbox, grid, size constraints, text wrapping, and relative or absolute positioning
TablesColumn sizing, spanning cells, nested tables, repeated headers, and separate or collapsed borders
Images and backgroundsJPEG, supported PNG formats, self-contained SVG, image fitting, and background sizing and repetition
PagesPage sizes and margins, automatic and explicit breaks, running headers and footers, and page numbers
FontsBundled DejaVu Sans, registered TrueType fonts, optional system-font discovery, and glyph fallback

This subset does not include JavaScript, interactive PDF form fields, or full browser layout and typography. See Known limits before adapting a browser template. The renderer reports unsupported HTML and CSS through the diagnostic contract.

Visual parity

We compare rendered documents with Chromium. Most reference documents use a tolerance of at most 5% differing pixels. Our target is less than 2% across the supported subset.

These percentages describe visual comparisons, not a percentage of browser features supported. Start with the rendering examples for working templates.