Repository navigation
fix: expect margin cards beside the panel to reach the window foot - #4579
Merged
Merged
Conversation
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 margin-tracking test still expects its card to stop above the floating panel, although #4555 deliberately lets a card beside the panel use the window's full height. On current main the test fails with a card bottom of 892px against an expected 834px; the captured page shows the card beside the panel, with its bottom correctly 8px above the 900px window foot.
Read the window foot and assert that the card stands horizontally clear of the panel. This preserves the source-following and bottom-clamping assertions without undoing #4555's layout. The targeted test fails before this correction at 6× CPU slowdown and passes afterward at 6× and 20× slowdown.
This repairs the newer Linux diagnostic added to #4233. The original macOS diagnostic, where the card had not risen to the boundary after two animation frames, remains unresolved; this change leaves that wait and the upward-movement assertion intact.
Refs #4233 — automated triage