-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
The void element list (area, base, br, col, embed, hr, img, input, link, meta, source, track, wbr) is defined independently in:
- `crates/ironhtml/src/lib.rs` — untyped `Element::new`
- `crates/ironhtml-parser/src/dom.rs` — parser `Element::is_void`
- `crates/ironhtml-parser/src/tree_builder.rs` — tree builder
- `crates/ironhtml-elements/src/lib.rs` — `const VOID: bool = true` on each type
A rendering bug fix would need to be applied in multiple places. The `ironhtml-elements` crate is the canonical source via `HtmlElement::VOID`, but the runtime crates use string matching instead of referencing the type system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request