Skip to content

fix: expect margin cards beside the panel to reach the window foot - #4579

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4233
Oct 28, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4233

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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

Preserve the full-height margin layout introduced by #4555. The tracking test now reads the window foot and verifies that the card stands beside the panel before asserting bottom clamping.

Refs #4233
@leaf-agent
leaf-agent merged commit 5ae1637 into main Oct 28, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4233 branch October 28, 2026 09:40
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.

1 participant