4a4a90c23 made fitTop set .side-top.tight, but the tray panel
(?mode=panel) has no sidebar and so no .side-top, and fitTop threw
"Cannot read properties of null (reading 'classList')" there (WebKit:
"null is not an object (evaluating 'st.classList')"). number-units'
panel case counts page errors, so it was red on origin/main 4a4a90c23
in Chromium and WebKit, en and zh. fitTop now skips .side-top when the
page has none.
Run (on mote, through mote-run; playwright 1.62.0, chromium and webkit):
- number-units.test.cjs at origin/main 4a4a90c23: 4 of its cases red
with the errors above (also seen in a run of the sessions overview
files at this base).
- With the change: number-units and side-toggle, 32 of 32 pass.
Not tried: the real tray panel on a desktop; the whole GUI suite.