NativeElixirPdfUtilities.HtmlToPdf.GaugeArtwork (native_elixir_pdf_utilities v1.1.0)
View SourceStatic artwork for validator-prepared HTML gauges.
The pinned HTML Standard sections 4.10.13, 4.10.14 and 15.5.14-15 define state, native dimensions and baseline, leaving platform artwork to the UA. This module follows the pinned Linux Chromium print palette and track geometry, including the primitive meter's four-stop gradient. Horizontal LTR rendering uses the ordinary CSS box paths for sizing, positioning and pagination. Relative frames defer native pixel alignment until the final page is known.
Indeterminate progress uses a centered circular unknown-state mark. It carries position -1 and no measured fill. Chromium prints a time-dependent moving segment; PDF output intentionally conveys the unknown state without sampling animation. Chromium 152 also overflows the range of a meter spanning -1e308 to 1e308. Native preparation scales the endpoints before subtraction and retains its required midpoint geometry; parity compares an equivalent finite range. Fallback contents remain in the prepared DOM as semantics and paint no shadow content, as in Chromium. Gauges create no interactive PDF field.