Skip to content

test: expect a summary's Go-to chip on its words, as #7332 seats every chip - #7414

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-7409
Nov 27, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-7409

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

test_the_g_chord_reaches_named_surfaces_and_visible_targets asserted that a disclosure summary's Go-to chip sits on the corner of the summary's box. #7332 deliberately moved every Go-to chip onto the corner of what its target draws, its words or glyph, rather than its box ("Each Go-to chip now hangs on the corner of what its target draws (drawnBox)…"). A summary's box begins at its disclosure marker, so the chip now stands where "What the store costs" begins: measured on Linux, chip centre at (294.8, 271.7), the words' first line box at (294.8, 271.7), the summary box's corner at (280, 268.7). The code does what #7332 meant; the assertion is stale.

The test now reads the first line box of the summary's words (a Range over its contents) instead of the summary's first client rect. No behavior moves, and #7332's intent is kept whole, so no follow-up issue is needed.

Verified by running the test by node id: it fails on main at 6a95224 with the reported message and passes with this change.

Closes #7409 — automated triage

…y chip

#7332 hangs each Go-to chip on the corner of what its target draws, its
words or glyph, rather than on its box. A summary's box begins at its
disclosure marker, so its chip now stands where the summary's words
begin, about 15 px right of the box's corner. The journey still asserted
the box's corner; it now reads the first line box of the summary's words.

Closes #7409
@max-sixty
max-sixty merged commit 597b1dc into main Nov 27, 2026
7 checks passed
@max-sixty
max-sixty deleted the fix/issue-7409 branch November 27, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_the_g_chord_reaches_named_surfaces_and_visible_targets: a summary's Go-to chip leaves its corner since #7332

2 participants