Goal: declare animations in HTML — e.g. anim="fade-in-up delay:0.3 duration:0.8" mapping to style.animation presets — removing the biggest authoring barrier of the dialect.
Invariants: transpiles to the existing animation schema (no new engine paths); unknown presets rejected at transpile time.
Acceptance: an HTML scenario with anim attributes renders with the same output as its JSON equivalent; docs + example updated; validator passes.
Files: crates/rustmotion-html/src/*, examples, skill docs.
Verify: cargo test --workspace && rustmotion validate on the example
Goal: declare animations in HTML — e.g.
anim="fade-in-up delay:0.3 duration:0.8"mapping tostyle.animationpresets — removing the biggest authoring barrier of the dialect.Invariants: transpiles to the existing animation schema (no new engine paths); unknown presets rejected at transpile time.
Acceptance: an HTML scenario with
animattributes renders with the same output as its JSON equivalent; docs + example updated; validator passes.Files:
crates/rustmotion-html/src/*, examples, skill docs.Verify:
cargo test --workspace && rustmotion validate on the example