Found while reviewing #2381 at 420px: the "Unofficial, on GitHub"
section's kinds in Japanese (すべて · 31 … エージェント · 1) are 400px
in a 388px bar in Chromium (385 in 380 in WebKit), so the bar ran 12px
past its edge. plugin-github-filter.test.cjs ran only at 980 and 440, and
checked for overflow only after the page's search had taken the kinds
away, so it never saw it.
Fix: .pm-ghbar .segs joins the strips that scroll in themselves (the
regions, Connect's APIs, Usage's agents): overflow-x auto, no bar on a
Mac, the app's thin one elsewhere, options flex: none.
Test: plugin-github-filter.test.cjs runs at 1100, 980 and 420, and checks
for overflow with the kinds drawn as well as at its end. At 420 WebKit
put Show all under the footer, and a scroll by code (the click's own
scrolling into view) is put back by the app's no-unasked-scroll hold, so
the footer took the click (de 420, red on dd25997a4 too); the test now
scrolls with the wheel to it, as a reader does.
Run:
- plugin-github-filter.test.cjs, en/zh/zh-TW/ja/de at 1100/980/420:
chromium 16/16, webkit 16/16. Without the CSS: ja 420 red in both
engines ([12,0,0] chromium, [5,0,0] webkit), the rest green.
- strip-scrollbar, sess-agent-strip (the strips this rule shares):
2/2 each in chromium and webkit. plugin-github.test.cjs 25/25 each.
- No Go file changed.
Full suite: SUITE_LINE