Repository navigation
Let page-flow tabs take their content's height - #7211
Merged
Merged
Conversation
Tabs in the page's flow stood at least a window tall so a switch from a long tab scrolled deep to a short one didn't let the browser pull the page down and move the strip. Since #7188 a column or sidebar page keeps room below its last line for that line to rise to the window's top, which does the same for every block at the page's end, so the rule only left a window of blank below a short tab: on a 1100x900 page whose tabs are followed by more of the page, the heading after a one-line tab stood at y=1109, off screen, and now stands at 307. A switch from deep in a long tab to a short one still leaves the strip at the window's top in Firefox and Chromium. A page with no Layout class gets no end room, so there the strip now drops by what the page loses, about 100 px in a short page; such a page is the author's own layout. The page-flow tab tests, the root-tabs journey that switches views without moving the strip, and the obligation walk across tabs pass.
leaf-agent
approved these changes
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.
Drops the window-tall minimum on tabs in the page's flow. It kept the strip still when a switch from a long tab scrolled deep to a short one would otherwise let the page's end pull the page down; since #7188 a column or sidebar page keeps room below its last line for exactly that, so the rule only left a window of blank under a short tab. On a 1100×900 page whose tabs are followed by more of the page, the heading after a one-line tab moves from y=1109 (off screen) to 307.
To weigh: a switch from deep in a long tab to a short one still leaves the strip at the window's top in Firefox and Chromium. A page with no Layout class gets no end room, so there the strip now drops by what the page loses (about 100 px on a short test page); that page's layout is its author's own.
Found while following up #7188 in this session; the maintainer hasn't read it. Tests: the 18 page-flow tab tests, the root-tabs journey that switches views without moving the strip, and the obligation walk across tabs pass.