Supported browser rendering
View SourceThe 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
| Area | What you can use |
|---|---|
| HTML and text | Headings, paragraphs, inline emphasis, lists, links, character references, and static form controls |
| CSS | Supported selectors, the cascade, custom properties, generated content, colors, borders, and spacing |
| Sizing and layout | Block and inline layout, flexbox, grid, size constraints, text wrapping, and relative or absolute positioning |
| Tables | Column sizing, spanning cells, nested tables, repeated headers, and separate or collapsed borders |
| Images and backgrounds | JPEG, supported PNG formats, self-contained SVG, image fitting, and background sizing and repetition |
| Pages | Page sizes and margins, automatic and explicit breaks, running headers and footers, and page numbers |
| Fonts | Bundled 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.