lainbo's test checked the sidebar rows in English and Chinese. The rule the
change sits beside ("where the reader is", 73af4c28) is that a tab clicked
in the page's own strip leaves the page where it is, and switching pages
keeps each where it was left. The test now checks both, so a later change
that lets the new scroll reach them goes red:
- the sidebar part runs in en, zh, zh-TW, ja and de, and after the tab
switches goes to Settings and back to the Library: each is where it was
left;
- a new test per engine, with the sidebar turned off (1100px, navLayout
top) and in a window narrower than SIDE_AT (900px), scrolls Library ›
MCP servers to its foot and clicks Skills in the page's strip: the page
is not taken to its top. Every language.
Run: sidebar-tab-top 34/34 (Chromium, WebKit) with the change. The strip
test passes 22/22 on main's app.js too (unchanged behaviour). Broken by
hand: the strip's segs click scrolling its view to 0 fails the strip test
10/10; Settings' place reset to 0 on a page switch fails "Settings is where
it was left"; the row scrolling with the tab already open fails "the tab
already open leaves the page where it is"; scrollOnPurpose() without the
click's event fails "Allowances opens at its top" (refused, 177/228).