Context
Split out of #17878 per pull-request-workflow.md §9.1 — that ticket investigates a reported scroll jump and remains open; this one is the coverage and example gap the investigation exposed, which is deliverable on its own and is not contingent on the outcome.
Neo.list.Buffered currently has:
- no example app. Measured: 0 files under
examples/ import list/Buffered, against a control of 3 for list/Base. Nothing under src/ references it either, apart from Buffered.mjs itself — its only consumers live outside this repository.
- no coverage that can observe a real scroll.
test/playwright/unit/list/Buffered.spec.mjs calls onScrollCapture() with already-decided absolute scrollTop values (80, 40, 205, …). Every page.mouse.wheel in the e2e tier moves a single large delta (500, 900, 1500, 4000) and asserts only that scrolling occurred.
The Problem
The two gaps compound. A component with no example gives scroll-behaviour work nothing to point a browser at — which is exactly what #17878 hit. And coverage that injects a decided scrollTop asserts what the list does with a number it is handed, never what happens to the number across a real scroll, so wheel-distance fidelity can regress while the suite stays green.
bufferRowRange and itemHeight are the two configs whose whole effect is windowing behaviour, and neither is observable in a test that supplies the scroll position itself.
The Architectural Reality
src/list/Buffered.mjs — onScrollCapture (:695-707), calculateMountedRange (:314-335), createItems (:344), spacer construction (:445-458)
src/list/Base.mjs:92 — itemHeight_ defaults to null; a fixture omitting it divides scrollTop by null
test/playwright/playwright.config.component.mjs — the tier that renders its own checkout on a free port, which is what makes a real-browser scroll witness trustworthy here
test/playwright/component/apps/ — the tier's per-scenario harness-app convention (empty-viewport, dock-splitter, dock-rail)
The Fix
examples/list/buffered/ — a Neo.list.Buffered over 5,000 records with bufferRowRange, itemHeight and height exposed as live config controls, following the examples/list/base shape.
test/playwright/component/apps/buffered-list/ — a harness app with pinned geometry, following the tier's existing per-scenario convention.
test/playwright/component/list/BufferedWheelFidelity.spec.mjs — real page.mouse.wheel gestures, asserting physical DOM scrollTop, App-Worker scrollTop, mountedRange and pool identity in the same run, with a RED CONTROL that drives the same path with a viewport-sized delta so the greens are falsifiable.
Acceptance Criteria
Transferred from #17878
Received 2026-08-31 under RA-1 on PR #17944. #17878 reduced to a browser scroll-anchoring defect
with a one-property Engine repair, and could not close over evidence living in this lane's unmerged
PR. These three describe instrument breadth, which is what this ticket is for. Restated verbatim
so the transfer loses nothing; they are required here and are not discharged by #17944.
Out of Scope
#17878's reported jump. This ticket delivers the instrument; it does not explain the report, and a green witness does not close that ticket.
- Any change to
src/list/Buffered.mjs. The createItems-on-every-scroll discrepancy is real and stays with #17878.
- The programmatic-
scrollTop entry path, which the wheel arms do not cover.
Avoided Traps
- A control that writes the scroll seat directly. The first revision did, and raced
createItems()'s re-stamp (Buffered.mjs:377) — intermittent, and its failure mode was indistinguishable from the defect it existed to detect.
- Treating concurrent Playwright runs as independent. They share ports and servers; a result from a run whose served tree cannot be established is not a result.
slice(1, -1) for the pool. Correct today and silent tomorrow — the spacers are excluded by class so the reason is in the code.
Related
#17878 — the investigation that exposed both gaps
#17835 — adjacent scroll-edge acquisition work on buffered surfaces
Live latest-open sweep: checked the latest 20 open Engine issues at 2026-08-31T12:54:34Z; no equivalent found. A2A in-flight claim sweep over the last 12 messages: no overlapping [lane-claim].
Decision Record impact: none.
Origin Session ID: 05d6d0ba-aeba-48c1-8687-a51674325080
Context
Split out of
#17878perpull-request-workflow.md§9.1 — that ticket investigates a reported scroll jump and remains open; this one is the coverage and example gap the investigation exposed, which is deliverable on its own and is not contingent on the outcome.Neo.list.Bufferedcurrently has:examples/importlist/Buffered, against a control of 3 forlist/Base. Nothing undersrc/references it either, apart fromBuffered.mjsitself — its only consumers live outside this repository.test/playwright/unit/list/Buffered.spec.mjscallsonScrollCapture()with already-decided absolutescrollTopvalues (80, 40, 205, …). Everypage.mouse.wheelin the e2e tier moves a single large delta (500, 900, 1500, 4000) and asserts only that scrolling occurred.The Problem
The two gaps compound. A component with no example gives scroll-behaviour work nothing to point a browser at — which is exactly what
#17878hit. And coverage that injects a decidedscrollTopasserts what the list does with a number it is handed, never what happens to the number across a real scroll, so wheel-distance fidelity can regress while the suite stays green.bufferRowRangeanditemHeightare the two configs whose whole effect is windowing behaviour, and neither is observable in a test that supplies the scroll position itself.The Architectural Reality
src/list/Buffered.mjs—onScrollCapture(:695-707),calculateMountedRange(:314-335),createItems(:344), spacer construction (:445-458)src/list/Base.mjs:92—itemHeight_defaults tonull; a fixture omitting it dividesscrollTopbynulltest/playwright/playwright.config.component.mjs— the tier that renders its own checkout on a free port, which is what makes a real-browser scroll witness trustworthy heretest/playwright/component/apps/— the tier's per-scenario harness-app convention (empty-viewport,dock-splitter,dock-rail)The Fix
examples/list/buffered/— aNeo.list.Bufferedover 5,000 records withbufferRowRange,itemHeightandheightexposed as live config controls, following theexamples/list/baseshape.test/playwright/component/apps/buffered-list/— a harness app with pinned geometry, following the tier's existing per-scenario convention.test/playwright/component/list/BufferedWheelFidelity.spec.mjs— realpage.mouse.wheelgestures, asserting physical DOMscrollTop, App-WorkerscrollTop,mountedRangeand pool identity in the same run, with a RED CONTROL that drives the same path with a viewport-sized delta so the greens are falsifiable.Acceptance Criteria
examples/list/buffered/exists and boots, exposingbufferRowRange/itemHeight/heightas live controlsscrollTopagainst the physical DOM seat in the same runTransferred from
#17878#17878retains the positive direction; the negative direction is this lane's.)scrollTopand App-WorkerscrollTopconverge after each gesture without programmatic snap-back.Out of Scope
#17878's reported jump. This ticket delivers the instrument; it does not explain the report, and a green witness does not close that ticket.src/list/Buffered.mjs. ThecreateItems-on-every-scroll discrepancy is real and stays with#17878.scrollTopentry path, which the wheel arms do not cover.Avoided Traps
createItems()'s re-stamp (Buffered.mjs:377) — intermittent, and its failure mode was indistinguishable from the defect it existed to detect.slice(1, -1)for the pool. Correct today and silent tomorrow — the spacers are excluded by class so the reason is in the code.Related
#17878— the investigation that exposed both gaps#17835— adjacent scroll-edge acquisition work on buffered surfacesLive latest-open sweep: checked the latest 20 open Engine issues at 2026-08-31T12:54:34Z; no equivalent found. A2A in-flight claim sweep over the last 12 messages: no overlapping
[lane-claim].Decision Record impact:
none.Origin Session ID: 05d6d0ba-aeba-48c1-8687-a51674325080