Each quota window was a subgrid of three rows of .quota-windows, so the
bars of two windows side by side lined up when one's name wrapped. That
is the layout that crashed Safari 16's WebKit sizing the Routing
requests (#3731). Now each window is a grid of its own. fitQuota, which
already runs a frame after the windows' ResizeObserver to stack the
counts, also gives each window's names the height of the tallest beside
them. The subgrid left 9px between a bar and its reset line, not the
4px the CSS declares, in both engines; kept, so the card looks as it
did.
quota-window-rows (new) checks that no rule of the windows says
subgrid, and at 1100, 700, 390 and 1100 again, in both engines and
every language, that the bars of each row start at one y with a long
name wrapped beside a short one, that the names sit above the bar, and
that a reset line starts 13px under its bar's top.
Run on mote at this head (on 6e331afb4):
- quota-window-rows: 11/11. At origin/main's assets 10/11, only the
subgrid check red, so the bars and spacing are the same. Broken by
hand (no min-height): 10 of 11 red, bars at 391 and 377.
- The 90 quota-, panel-quota-, usage-, balance-parts, plugin-plan,
account-mask and i18n-keys files: 1146 pass, 43 fail. The red files
are red alone on origin/main too, the same counts: quota-count-wrap
2 (#3404), quota-refresh-order 9 (#3679), usage-agents-hide 22
(#3414), usage-ledger 6 (#1876). usage-overview-fold is flaky on
both: 2 and 3 red on main, 3 and 5 here (#3947).
- node --check app.js: ok. go test -run Budget|Asset|CSS ./internal/gui:
ok; TestCoreScriptBudget held without a raise (the addition was
compacted to fit, 1526556 bytes or under).
- After that compaction: quota-window-rows and account-mask 15/15; all
quota-* files plus i18n-keys 163 pass, 11 fail, the same
quota-count-wrap and quota-refresh-order reds as above.
Not tried: a real Safari 16 (no macOS 13 machine).