Repository navigation
test: expect a summary's Go-to chip on its words, as #7332 seats every chip - #7414
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test_the_g_chord_reaches_named_surfaces_and_visible_targetsasserted 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
Rangeover 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
mainat 6a95224 with the reported message and passes with this change.Closes #7409 — automated triage