tz_188 on v0.1.3122: three ZCode sessions at once on Routing, each named
by a long one-line prompt ("这个commit 中的内容帮我再核对一下
51538fc170c6…", a path under /Users/lbx_16/work/b2b/b2b-platform). Every
name ran past its block and over the next blocks' names, so the three
read as one smear. 7a2b9340d had folded line breaks in the name; this is
another cause. The block (.rt-ctx-s) is a <button> laid out as a flex
column. WebKit up to Safari 17 (macOS 14) puts a flex button's children
in an anonymous box of its own, and in a column that box is as wide as
the name's whole nowrap line, so .nm's overflow: hidden clipped nothing
inside the 180px block. Today's Chromium and WebKit don't, which is why
the earlier test (and Playwright 1.62) never saw it. The block is now a
grid of one minmax(0, 1fr) column: a grid button has no such box, and
each name ends in its ellipsis; the whole title is still on hover.
Siblings: a scan of every CSS rule with flex-direction: column against
every class a <button> is made with (el("button"), <button class>,
createElement + className/classList) finds .rt-ctx-s only. Row flex,
block and grid buttons clip correctly in WebKit 17 (probed).
Run (mote, via mote-run):
- routing-ctx-sessions.test.cjs, Playwright 1.62 chromium + webkit:
98/98. New case: three sessions with tz_188's title, a hash and a path,
en/zh/zh-TW/ja/de at 1600/1100/700/390px; each name inside its block's
padding box, cut short (scrollWidth > clientWidth), title on hover, no
page overflow, and the block not a column flex button.
- the same case with Playwright 1.36's WebKit 17.0 (NODE_PATH and
PLAYWRIGHT_BROWSERS_PATH to a separate install on mote): 20/20 pass.
- the whole routing-* GUI set (171 files): 2838 of 2870 pass. The 32 reds
are in routing-intent-entry, many-keys, order-unknown, row-swap,
rule-drag, rule-models, rule-remove, steady, steps-cap and
story-shrinks, the same files 7a2b9340d listed as red on its main (with
rule-models added); none of them reads .rt-ctx-s. Their base-vs-change
comparison is run after this push.
Broken by hand: the old flex CSS put back, WebKit 17.0 red 20/20 ("the
name "/Users/lbx_1" stays inside its block: 44..1174 in 44..228"), and
Playwright 1.62 red 40/40 on the column-flex guard.
Not tried: the reporter's full title bytes (only the screenshot; two of
the three titles are made up from its visible words), the real app's
WKWebView on macOS 14, Windows and Linux, the whole GUI suite (only
routing-*).
Reported-by: tz_188 (Discord)