Problem
Canonical conversion can preserve visible declarations while destroying the source selector target. Fixture 37 demonstrates two generic cases: .roster-card .stamp source spans become marker-only <mark> nodes without the author class, and a.view / layout-bearing non-button anchors become paragraph wrappers whose inner anchor lacks the source class. Hover, pseudo, descendant, and future stylesheet rules become inert.
Work
- Preserve safe source class/id/data identity on representable RichText inline nodes.
- Preserve non-button anchor identity on the inner
<a> while retaining wrapper presentation where Gutenberg requires it.
- Use a semantic carrier only when structural display/alignment cannot be represented on the inner anchor.
- Rewrite selectors only when source DOM identity cannot be preserved.
Acceptance
.roster-card .stamp and .roster-card a.view still select the intended saved node.
- Hover/pseudo/descendant variants remain effective.
- Inline-flex non-button anchors retain display, alignment, gap, href, and class.
- Gutenberg parse/save validation and canonical site-plan tests pass.
Evidence: fixture 37 artists/current-exhibition diagnostics from run d17780c9-0100-4390-abe0-43eb11d465e7. AI-assisted diagnosis: GPT-5.6 Sol via OpenCode; Chris owns acceptance.
Problem
Canonical conversion can preserve visible declarations while destroying the source selector target. Fixture 37 demonstrates two generic cases:
.roster-card .stampsource spans become marker-only<mark>nodes without the author class, anda.view/ layout-bearing non-button anchors become paragraph wrappers whose inner anchor lacks the source class. Hover, pseudo, descendant, and future stylesheet rules become inert.Work
<a>while retaining wrapper presentation where Gutenberg requires it.Acceptance
.roster-card .stampand.roster-card a.viewstill select the intended saved node.Evidence: fixture 37 artists/current-exhibition diagnostics from run
d17780c9-0100-4390-abe0-43eb11d465e7. AI-assisted diagnosis: GPT-5.6 Sol via OpenCode; Chris owns acceptance.