You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
artifact-canvas: fenced code blocks miss the #1343 row model — data-line lands on the inner code element, so pre selectors match nothing #1396
Latent defect on main (pre-existing, found by spir-1380's phase-2 Playwright fixture — real layout caught what jsdom could not)
markdown-it's fence renderer emits token attrs on the INNER element, so fences render as pre > code[data-line] — the pre itself carries no data-line. Consequently #1343's theme selectors targeting .codev-artifact-canvas-body > pre[data-line] (the gutter-absorb padding rule) match nothing the renderer produces. Tables are _open tokens and genuinely carry data-line — unaffected; this is fences specifically.
Effects in vertical mode today (both subtle, which is why the #1385 dev demo, 98 jsdom tests, 2-way consult, and architect review all missed it):
pre rows get the fallback margin-left gutter instead of absorbed padding — visually near-identical, no user-facing symptom.
The geometry half is expected to ride spir-1380 phase 4 (fragment-aware affordance placement — its plan already mandates a geometry audit, and the builder has committed to handling the pre-row case there). This issue tracks the defect independently so it survives any 1380 descope, and covers the selector half (either stamp data-line onto the pre at render time — probably the root fix, one renderer-rule change — or align every selector to the pre > code reality as 1380's phase 2 did locally).
Lesson (route to review file of whoever fixes it)
jsdom asserts DOM shape, not layout resolution: a selector matching nothing and an abspos resolving against the wrong containing block are invisible to it. The committed real-browser fixture caught this before the feature it guards even exists — the regression-fixture investment paid out on day one.
Activity
[Spec 1380][Phase: fragment-affordance] feat: fragment-aware '+' plac…