Skip to content

FormGroupHeading gains an anatomy element absent from the baseline #294

Description

@nathanacurtis

The round-trip adds structure the baseline does not have. Every other finding in the catalog run is loss; this is the only additive one.

Evidence

FormGroupHeading:

path baseline round-trip
anatomy.labelRow (absent) {type: container, detectedIn: "custom=true, role=H3"}
default.elements.labelRow (absent) full styles block (layout mode, wrap, sizing, itemSpacing)
variants[1].layout (absent) [{root: [{children: [{labelRow: [heading, requiredIndicator]}]}]}]

The added element nests existing elements (heading, requiredIndicator) beneath it, so the layout tree gains a level.

Fixtures

  • FormGroupHeading — the only clear instance in the catalog

variants[*].layout differences appear in 6 aligned components and may share this cause, but they were not individually characterised and should not be assumed related.

Where

Undetermined. Whether the render creates a wrapper that was not in the spec, or the read invents one from the rendered structure, is not established.

Caveat

This component also has a variant-count mismatch (1 → 3), covered by the variant-count investigation issue. Resolve that first — some of the added structure may be misalignment rather than invention.

Part of #281.

Metadata

Metadata

Assignees

No one assigned

    Labels

    generatorspecs-from-figma processing engine

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions