Upstream: crates/rune-kit/README.md § Comparison (lavapipe vs headless Chromium, 2×) at
65f8eb43f710, MIT © Anomaly. Bundled by build-rune-apps; links point at this snapshot or at GitHub at that rev.
Comparison (lavapipe vs headless Chromium, 2×)
Side by sides (web | Rune | amplified difference): button states,
rich menu, grouped select,
text inputs, toast,
card. Run scripts/kit-diff.py for
current per-story scores.
Known differences, and why:
- Glyph advances. Chromium on Linux rounds each glyph advance to a device pixel (no subpixel positioning); Rune keeps Parley's fractional advances and rounds text boxes up to a device pixel. Words differ by up to ~0.5 pt, which adds up along wrapped rows (button variants).
- Antialiasing. Rune's greyscale atlas with luminance dilation vs Chromium's FreeType/Skia rasteriser: stems differ by a fraction of a pixel; diff images show text outlines.
- Blending. Rune blends in linear light; translucent tokens are re-solved per backdrop
(
Kit::on), exact over the surface they were solved for and close elsewhere. CSS group opacity (disabled controls) is per-layer opacity in Rune, so text over a dimmed fill is slightly lighter. - Focus. Controls support keyboard focus rings, Tab, activation and arrow-key roving. Dialog traps focus and restores the opener; popover/select opening autofocus is still separate.
- Motion. Spinner pulses use fixed seeds in the web's randomized timing ranges; Loader rotates every 900 ms. Both use Rune's clock and hold a static pose under reduced motion. Indeterminate progress remains static. Transitions use springs rather than CSS easing curves.
- Not drawn. The textarea resize grip, hover-card trigger underline, scrollbars.
- Story quirks mirrored on purpose. Solid ignores
defaultValueon the v2 inputs (the web shows placeholders), the Basic and NonCollapsible accordions render closed, and the menu Rich story'ssettings/save/printicons fall back toplus.components-popover--inlineand the context-menu, tabs and avatar stories have no gallery scene yet.ui-dialog--basicand the scriptedmotion-focus-modalscene cover the new modal layer.