main=3c4c16816b35a5315aca548665b8df5a66e5e178 pr_head=323ab8fa79070e01de43adb958605615cb78244a fix=9c4ab6d47ad340f8286be083b26e18333fe96d1e PASS #43254 is on main as 9c4ab6d47a (fix(web): rendered Markdown keeps its scroll position across files and threads (#43254)) PASS gh: #43254 is MERGED with merge commit 9c4ab6d47a PASS gh: issue #22300 (this PR's 'Fixes') is CLOSED by #43254 PASS gh: #43254's description says '#23503 fixes the same bug' and reimplements it on the chunked list PASS this PR restores scrollTop on a ScrollArea in RenderedMarkdownSurface; since #40631 that surface renders ChunkedMarkdown PASS at 9c4ab6d47a, ChunkedMarkdown saves the first visible chunk per file and restores it with initialScrollIndex Tests 2 failed | 18 skipped (20) AssertionError: expected 'AGENTS section 0' to be 'AGENTS section 22' // Object.is equality AssertionError: expected 'GUIDE section 0' to be 'GUIDE section 22' // Object.is equality PASS at #43254's parent 9c4ab6d47a^, both tests fail: returning to the file, or to the rendered view, lands back at section 0 Tests 2 passed | 21 skipped (23) PASS at 9c4ab6d47a, both tests pass: the file tab and the rendered view come back at the same heading, within 2px Tests 2 passed | 22 skipped (24) PASS at 3c4c16816b, both tests pass: the file tab and the rendered view come back at the same heading, within 2px VERDICT: CLOSE (already-fixed) - #43254 restores the rendered Markdown reading position across file tabs, which is what this PR delivers