Expand description
Canonical layout dumps for snapshot tests. Canonical layout dump for core WidgetConfig snapshot tests.
Constants§
- CORE_
ELEMENTS - Core elements present on every platform with preserved IR semantics.
Pixel-identical rendering is not guaranteed — see degraded cells in the
capability matrix (
image.systemName, Windowszstack/shape, …). - EXTENDED_
ELEMENTS - Extended / best-effort elements (platform-dependent).
Functions§
- dump_
config - Dump a config to a stable JSON tree (nulls omitted, keys sorted via serde_json Map order of insertion — we insert in a fixed order).
- is_
core_ element truewhentyis inCORE_ELEMENTS.