Repository navigation
fix: keep boxless selection fixture in block flow - #5027
Merged
Merged
Conversation
The column grid places display: contents children in separate tracks, so visual target sorting can put the split wrapper ahead of the heading. Both Tab commands ran; the assertion sometimes caught the first delayed announcement before the heading replaced it. Use ordinary block flow and verify the first stop before advancing to the wrapper. This preserves the boxless hit-testing behavior and the native grid layout introduced in #4724. Closes #4957
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.
The column grid introduced in #4724 places the boxless wrapper's children in separate tracks. The target picker sorts by visible position, so the wrapper can precede the heading: both Tab commands execute, but the second correctly announces the heading. A passing attempt could catch the wrapper's delayed first announcement before the heading replaced it.
Keep this hit-testing fixture in ordinary block flow and verify the heading announcement before advancing to the wrapper. This preserves the test's separated painted runs and the product's native grid layout.
Validation: reproduced the reported heading diagnostic on unchanged main at 20× CPU throttling; a temporary trace at 6× confirmed both next-target invocations and the wrapper-then-heading announcements. The repaired test passes at 6× and 20× throttling. Ruff lint and formatting checks pass.
Closes #4957 — automated triage