Repository navigation
test: reproduce page-wide work on Draw-mode stroke release - #2778
Closed
leaf-agent wants to merge 1 commit into
Closed
leaf-agent wants to merge 1 commit into
leaf-agent wants to merge 1 commit into
Conversation
leaf-agent
commented
Oct 13, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The new test fails at 40 <= 2 on this head. The pre-renderer reads come from Reach: paintReachNow() repaints every member of its global sideways set, and paintSidewaysReach() reads computed style for the code block in each card. The held preview module confirms this work happens before preview capture. A scoped Reach repaint for the changed region and affected ancestors would keep this regression test while removing the page-wide pass; this test-only head leaves the new browser gate red.
Collaborator
Author
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.
This adds a failing browser reproduction for the page-wide work on Draw-mode stroke release. The test holds the optional drawing preview renderer, releases a stroke inside one card, and records computed-style reads before that renderer runs. On the current code it reads all 40 cards, rather than only the card under the ink. The focused test fails at that assertion; it has no product fix.
The held renderer narrows one cause: the release already performs a page-wide style walk before preview capture. It does not explain the separate screenshot cloning and margin-layout costs reported in #2775. Those paths still need a fix at their owning boundaries.
Automated triage for #2775