Skip to content

Credit native disclosure closure in browser shift checks - #3548

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-39741006770-native-disclosure-motion
Oct 22, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-39741006770-native-disclosure-motion

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The browser shift watcher marked the next diff file's movement during a native disclosure close as unprompted. In the failing file-tree case, the closing details shrank over successive frames, but Chrome returned no animation from its shadow root's getAnimations() for the ::details-content transition. The watcher now follows the closing interval after an open mutation, reads each frame, and credits only matching upward movement of a later box in the same flow.

The file-tree patch case failed on current main with an uncredited 8 px move and passed with this change. Focused checks passed 87 shift-watcher and diff-header cases; the file-view case in that selection still reported the separate unchanged open write addressed by #3545. Pre-commit passed. This addresses the motion findings in main CI run 39741006770.

@leaf-agent
leaf-agent merged commit c256383 into main Oct 22, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39741006770-native-disclosure-motion branch October 22, 2026 10:11
leaf-agent added a commit that referenced this pull request Oct 22, 2026
Chromium reported the same lazy image issue twice for one iframe in each
color scheme in [main CI run
39750772164](https://github.com/max-sixty/leaf/actions/runs/39750772164).
The render gate test treated the event count as part of its contract and
failed, even though it located every expected issue at the correct
authored node. Compare the reported scheme, node, and issue type as a
set; keep checking every issue's media URL.

The focused render gate case passes on this branch. The other failures
in that run have separate fixes on `main` in #3545–#3548.

Co-authored-by: leaf-agent <[email protected]>
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