fb6fe16022
* fix(runtime): pass child sibling index to nested <Transform> (Ink parity, G21) paint.ts renderTextWithInlineStyles and text-measure.ts flattenLeaves squash loops now pass the child's position index to child.transform instead of a hardcoded 0, matching Ink squash-text-nodes.ts:13,38 where internal_transform receives the plain loop counter over node.childNodes (all siblings). A nested <Transform> that is the Nth child of a <Text> therefore gets index = N. Both spots use the same index basis so paint and measurement agree. Refines the earlier G06 refutation — the inline/squash path was the real gap. Also adds the `innerText.length > 0` guard in text-measure.ts flattenLeaves so measurement skips transforms on empty text (matching paint.ts and Ink:34), and converts screen-reader.ts squashTextContent to use forEach-with-index so the nested-Transform index is correct in SR mode too (was hardcoded 0). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore(parity): ledger — G21 pr-open, reconcile G20 merged Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>