Repository navigation
Read a bounded region's own words as its place when the page also scrolls - #7213
Merged
Merged
Conversation
…olls #7188 gave a column or sidebar page room below its end, so the root scrolls even on a page that fits the window. `scrollsAlone` walks up from a block to the box a place is read for; when the block is that box, as a bounded region's body is, the walk passed it and stopped at the root, which now scrolls, so the place in a long text document named no line. The walk now starts only below the box. The evidence-close test scrolled to the document's end to stand the evidence at the window's foot. With the end room that scroll leaves it wholly above the window, so the test now scrolls its following button to the window's foot instead, the geometry it had before #7188. Closes #7212
This was referenced Nov 26, 2026
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.
#7188 gave column and sidebar pages room below their end, so the page itself now scrolls even when it fits the window. Two tests turned red, and the room is the intended behavior in both. One exposed a runtime defect, and the other had stale setup.
scrollsAlonewalks up from a block to the box the place is read for. When the block is that box, as a bounded region'spreis, the walk went past it to<html>.<html>isoverflow-y: scrolland now has a scroll range, so every line in a long text document counted as scrolling on its own, andcapturePlacenamed no line. The walk now starts below the box only. A user sees this as a lost reading place inside a bounded document on any column or sidebar page whose end room makes the root scroll.Before this change,
test_a_place_in_a_long_document_names_the_line_at_its_topand both failing engines oftest_evidence_close_folds_room_but_retires_controls_immediately[*-file]fail on maindfde749f0with the messages in #7212. All five cases pass after it.pnpm run test:runtimepasses, and so do the bounded-region and scroll cases oftest_reading_place.py.Closes #7212 — automated triage