Repository navigation
Show the selected trace input's whole band, and read clip margins as shown - #6802
Merged
Merged
Conversation
…shown In a Playwright trace's timeline, the selected input's name wears a 2px accent band (a box-shadow) around its pill. The label holding the name clipped it with `overflow: hidden`, and with no inline-start padding the band's left side and top were cut flat, so the pill read square on one side in every engine. The label now clips with `overflow: clip` and an `overflow-clip-margin` the width of the band, one custom property both rules read; the ellipsis on a long name is unchanged. Safari has no `overflow-clip-margin`, so there the band stays cut. `shownBand` (geometry.js), the one reading of what a container lets the user see, ignored `overflow-clip-margin`, so the suite's ring scan still reported the band cut after the fix, and `page check --render` and the margin layout read the clip of `.lf-field`, the composer placeholder and a flying deck a few pixels short of where the browser paints. It now widens the band by the margin on a box that clips both axes with `clip`, the only case Chromium paints one. Found on 2026-11-22 by sweeping the ring scan over every stills state while checking the panel field's ring under Send (#6800). `test_the_selected_input_s_name_wears_its_whole_band` fails on main's stylesheet.
leaf-agent
approved these changes
Nov 23, 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.
In a Playwright trace's timeline, the selected input's name wears a 2px accent band around its pill, and the label holding the name cut the band's left side and top flat with its
overflow: hidden. The label now clips withoverflow: clipand anoverflow-clip-marginthe band's width, so the pill is rounded all round in Chromium and Firefox, light and dark; a long name still ends in an ellipsis. Safari has nooverflow-clip-marginand keeps the cut band.Where to look:
shownBandinbrowser/runtime/geometry.jsignoredoverflow-clip-margin, so the suite's ring scan kept reporting the band cut after the CSS fix. It now widens a box's band by the margin when the box clips both axes withclip, the only case Chromium paints one. That reading also feedspage check --render, the margin layout andclipWalk, so.lf-field, the composer placeholder and a flying deck now read their clip where the browser paints it, a few pixels wider than before.Found by sweeping the ring scan over every stills state while checking the panel field's ring for #6800, which Max asked for. Tests: the new
test_the_selected_input_s_name_wears_its_whole_bandfails on main's stylesheet; the runtime suite and the ring tests that read clipped bands pass.