Skip to content

Add validated SVG playback progress with rendering tests - #13

Merged
jackspirou merged 3 commits into
mainfrom
codex/resolve-svg-progress
Oct 8, 2026
Merged

jackspirou merged 3 commits into
mainfrom
codex/resolve-svg-progress

Conversation

@jackspirou

Copy link
Copy Markdown
Member

SVG playback now supports an optional one-pixel progress bar through Set ProgressBar "#9B79FF". The bar accepts quoted #RGB, #RRGGBB, and #RRGGBBAA colors and uses the terminal animation’s speed and loop offset.

This retains the contribution from #9 and its original commits. The repair rejects invalid colors, escapes XML attributes, and documents browser animation separately from static rendering. Static renderers display the full bar.

Validation:

  • Native Chrome tests cover default-off behavior, viewport geometry, playback phases, loop reset, and painted pixels.
  • Chrome and librsvg pixel tests verify semi-transparent red over black. Inkscape pixel rendering remains UNVERIFIED because it is not installed.
  • Final native race suite passes 279 cases with no failures or skipped tests. Vet, lint, build, tidy, formatting, and 106 tape checks pass. Root verification passes 11 focused cases. Pre-PR autoreview passes with no P0 findings. The exact-content secret scan is clean.

The contributor fork rejected the authenticated LFS lock check during a dry-run push. This replacement uses an owned branch and preserves the contributor’s published history.

Resolves #9.

xav-ie and others added 3 commits February 26, 2026 12:33
Add a "Set ProgressBar <color>" command that renders an animated 1px
bar at the bottom of the SVG that grows left to right over the
animation duration. Supports #RGB, #RRGGBB, and #RRGGBBAA hex colors.

The progress bar is opt-in — it only renders when a color is explicitly
set. The default (no setting) produces no progress bar, keeping
existing behavior unchanged.

The bar is placed inside the inner SVG element so its CSS animation
applies correctly in both browsers and non-browser renderers (librsvg,
Inkscape, etc.).
@jackspirou
jackspirou merged commit 25c2845 into main Oct 8, 2026
8 checks passed
@jackspirou
jackspirou deleted the codex/resolve-svg-progress branch October 8, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants