Skip to content

feat(html): validate rm-* attributes and CSS properties at transpile time #17

Description

@LeadcodeDev

Goal: LLM authoring errors surface at transpilation, not at render — unknown rm-* attributes and unsupported CSS properties produce warnings (strict mode: errors).

Evidence:element.rs:77-94 inserts any attribute verbatim; style.rs accepts any kebab-case property silently.

Invariants: default stays permissive (warnings); strict mode opt-in; no false positives on supported properties.

Acceptance:<rm-counter to="invalid"> and style="backdrop-filterr:..." produce actionable warnings with element location; tests cover both paths.

Files:crates/rustmotion-html/src/*, CLI validate wiring.

Verify:cargo test --workspace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions