Repository navigation
Make face-or-reach one fact the aim floor reads from the reach's list - #3909
Merged
Merged
Conversation
The aim floor kept two selector lists: one for the inline floor and one for the block floor, which had to exclude by hand every offered control that meets the block floor with a reach instead (`.lf-btn`, `.lf-msg-control`). Missing one entry stood message controls 44px tall in a 28px head (#3748). Now the reach rule sets `--lf-face-floor: auto` (registered, not inherited), and one floor rule states both floors, reading `min-height: var(--lf-face-floor, var(--aim-floor))`. Membership in the reach's list is the single fact: a pressable offer gets a floor-tall face unless it hangs a reach, and can no longer get both. The block-axis list and its exclusions are gone. The gate's `AIM_FLOOR_RULE` follows the merged rule. No behaviour changes. Computed min-width, min-height, size, position and `::after` box of 5,842 controls per pointer (143 families, 38 corpus states, fine and coarse) are identical before and after, apart from scroll and unread-dot ordering noise; the aim sweeps report the same findings on HEAD and the change in 48 runs, and Firefox matches HEAD. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 25, 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.
The aim floor kept two selector lists: one for the inline floor, and one for the block floor that had to exclude by hand every offered control meeting the block floor with a reach instead (
.lf-btn,.lf-msg-control). A control missing from those exclusions got both a 44px face and a reach; that is how message controls stood 44px tall in a 28px head, fixed one entry at a time in #3748.Now the reach rule sets
--lf-face-floor: auto(registered with@property, not inherited), and a single floor rule states both floors, withmin-height: var(--lf-face-floor, var(--aim-floor)). Whether a control is on the reach's list decides which of the two meets its block floor, so a pressable offer gets a floor-tall face unless it hangs a reach, and can no longer get both. The block-axis list and its exclusions are gone, and the render gate'sAIM_FLOOR_RULEreads the merged rule.No behaviour changes. The computed min-width, min-height, size, position and
::afterbox of 5,842 controls per pointer (143 families, 38 corpus states, fine and coarse) are identical before and after, apart from scroll and unread-dot ordering noise. The aim sweeps report the same findings on the base and on the change across 48 runs, and Firefox matches the base.After merging main,
pnpm run check:browserconfirms the committed sheets match their sources, and the corpus gate (tests/journeys/test_render_gate.py::test_the_layer_holds_its_whole_page_rules_on_the_corpus) andtests/journeys/test_render_controls.py::test_every_control_the_layer_offers_is_a_box_the_user_can_hit(fine and coarse) pass on the merged branch.