Skip to content

v0.87.2: honest image dimensions and srcset, plus gate coverage

Choose a tag to compare

@glw907 glw907 released this 18 Jul 04:52

The window since v0.87.1: the Waymark final design review's engine rider, plus gate work.

Added

  • A rendered managed image (media: token) now carries its intrinsic width/height when the
    media manifest records them, so the layout reserves the box before the bytes arrive. When the
    site's AssetConfig declares transformations: true, the image also gains a srcset over a
    400/800/1200/1600 width ladder (honest candidates only, capped at the asset's own width)
    through the existing variant URLs, with a sizes hint derived from the enclosing figure role.
    The sanitize floor admits the two new attributes. Raw external URLs are untouched. No consumer
    action; a site that post-processes rendered <img> HTML should expect the new attributes.
  • The check:invisible-craft gate now recognizes seconds-suffixed CSS durations (previously
    only ms literals were checked) and scans the showcase's template tree (chassis, theme, site
    routes) alongside the admin components. The dual-gamut contrast gate also checks the cairn
    theme's full-identity override (examples/cairn-theme/cairn.css). Two live numeric probes
    land as check:interactive-contrast and check:touch-targets, run against a preview server.

No Consumers must: steps; this is a drop-in bump.