Reproleaf / Documentation
10 reproducible web cases: scroll, canvas, forms and SSR
Synthetic Vue, React, Three.js, Phaser and HTML examples with symptoms, preconditions, separate acceptance checks and dated Chromium observations.
How to read and reproduce the cases
These are minimal synthetic examples using Vue, React, Three.js, Phaser and HTML. Each documents an observable failure, applicability conditions and a separate acceptance check. Client project source and private reports are excluded.
A fixed example does not prove compatibility with every framework version. Applying a rule to another project requires its own adapter and another measurement.
Check methodology and limitations | Versioned JSON catalog | Measured outcomes JSON
Modal close button becomes unreachable after scrolling
modal-close-unreachable | vue
Scrolling a long detail panel moves its heading and close button outside the visible panel.
Preconditions
- Fixed or bounded-height dialog container with overflow hidden
- Header/close button placed inside the same scrolling container as body paragraphs or without a shrinkable flex child (min-height: 0)
Reproduction steps
- Open the detail panel
- Scroll its long content to the end
- Try the visible close control
Independent acceptance condition
After reaching the last content element, the close control remains inside the viewport, is the top hit at its center, and closes the panel with browser-injected pointer input without Playwright auto-scrolling it into view.
Keep the heading outside a dedicated, shrinkable scroll body.
node src/cli.mjs verify --case modal-close-unreachableMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- Chromium mobile viewport emulation
- Does not prove iOS native browser bar or keyboard behavior
Reverse gestures stay trapped at a contact panel boundary
nested-scroll-trap | react
At the top of a nested scroll panel, downward finger movement cannot return to the preceding page section.
Preconditions
- Vertically scrollable document containing an inline child with overflow-y: auto or scroll
- overscroll-behavior-y: contain or none applied to the inline child rather than a modal dialog
Reproduction steps
- Scroll the document to the contact panel
- Reach the top of the nested panel
- Swipe downward over its content
Independent acceptance condition
The document scroll position decreases by more than 50 CSS pixels after trusted browser touch input over the panel, while the panel starts at its top boundary.
Allow scroll chaining at this panel boundary; containment remains appropriate for modal dialogs.
node src/cli.mjs verify --case nested-scroll-trapMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- CDP touch injection is Chromium-specific
- Wheel checks are separate from touch checks
- Not physical iOS or Android evidence
A full-screen canvas exposes a gap after viewport growth
canvas-resize-gap | three
A scene sized only at startup leaves an uncovered strip when its container grows.
Preconditions
- Full-viewport or flexible host container housing a canvas element
- Renderer dimensions set only during initial mount without observing host box changes
Reproduction steps
- Open the scene at a short viewport height
- Increase viewport height without changing width
- Inspect the bottom edge and the last visible pixel
Independent acceptance condition
After a height-only resize the canvas element covers the viewport, its drawing buffer matches its CSS size at the fixture's 1x render scale, and it is the hit target near the bottom edge.
Observe the actual render host and update renderer dimensions and camera aspect when it changes.
node src/cli.mjs verify --case canvas-resize-gapMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- Synthetic desktop viewport resizing, not Safari address-bar animation
- Geometry coverage does not establish correct camera aspect or rendered scene content
- No performance guarantee for an arbitrary 3D scene
- WebGL must be available
A game canvas blocks vertical page gestures
canvas-touch-trap | phaser
Dragging vertically over an embedded game consumes the gesture instead of moving the page.
Preconditions
- Canvas widget embedded mid-page in a vertically scrolling document
- Input manager disables pan-y touch actions even though vertical drag is unused
Reproduction steps
- Scroll to the embedded tap game
- Start a vertical swipe in the canvas
- Observe the document scroll position
Independent acceptance condition
A browser-injected vertical touch gesture beginning on the real Phaser canvas moves the document by more than 50 CSS pixels, and tapping the game circle still updates its score.
Configure Phaser touch handling and touch-action for this tap-only embedded game.
node src/cli.mjs verify --case canvas-touch-trapMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- Synthetic Phaser integration example, not a discovered defect in an owner game
- Not appropriate for games that require unrestricted vertical drag controls
- Chromium touch emulation, not a physical device
An unbroken heading expands a mobile grid
heading-grid-overflow | html
The intrinsic width of a heading expands a grid beyond a narrow layout viewport.
Preconditions
- Grid track or flex item with default min-width: auto containing long unbroken tokens or headings
- Narrow mobile viewport (320px-390px) where token width exceeds container width
Reproduction steps
- Open the grid at a narrow mobile viewport
- Inspect the document width
- Allow unbroken words to wrap and repeat the same check
Independent acceptance condition
The document scroll width does not exceed its layout client width by more than one CSS pixel.
Allow unbroken heading text to wrap so its intrinsic grid size does not widen the document.
node src/cli.mjs verify --case heading-grid-overflowMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- Synthetic minimal example derived from an owner-authorized public-page observation, not copied project source
- Intentional horizontal document layouts are outside this acceptance requirement
- Does not establish all text readability or search ranking quality
A fixed bottom bar occludes a focused form field after scrollIntoView
sticky-bar-focus-occlusion | html
Focusing or scrolling to a form input near the bottom of the document leaves the field covered by a fixed bottom action bar.
Preconditions
- Fixed bottom bar (position: fixed; bottom: 0) overlapping the lower viewport region
- Scrollable document with interactive form controls and no matching scroll-padding-bottom or scroll-margin-bottom
Reproduction steps
- Open the form with a fixed bottom summary bar
- Scroll the lower delivery instruction input into view and focus it
- Verify the field is not covered by the fixed bar and accepts input
Independent acceptance condition
After scrolling the target input to its nearest visible position and focusing it, the input remains inside the viewport, is the topmost hit target at its center above the fixed bottom bar, and accepts typed text.
Set scroll-padding-bottom on the scroll container (or scroll-margin-bottom on fields) exceeding the fixed bar height.
node src/cli.mjs verify --case sticky-bar-focus-occlusionMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- Tests CSS scroll-padding and fixed DOM overlays, not native OS virtual keyboard height
- Single-point center hit check
Rapid taps on an async form submit trigger duplicate submissions
async-submit-double-fire | react
Activating a submit button twice while an async request is still in flight dispatches duplicate submissions and exposes no busy state.
Preconditions
- Asynchronous form submit handler taking network or timer latency to settle
- No synchronous ref lock or disabled/aria-busy state preventing re-entry before state updates flush
Reproduction steps
- Activate the submit button to start the async request
- Immediately activate the submit button a second time while in flight
- Wait for completion and inspect the recorded submission count
Independent acceptance condition
Two rapid pointer activations on the submit control during an in-flight submission record exactly one submission and expose disabled or aria-busy state while pending.
Guard submit entry synchronously with an in-flight ref and disable the submit control with aria-busy while pending.
node src/cli.mjs verify --case async-submit-double-fireMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- Synthetic timer-based async handler, not a backend idempotency key check
- Client-side locking complements rather than replaces server-side idempotency
Deferred client hydration resets an already-opened SSR disclosure
ssr-disclosure-hydration-reset | html
Toggling a server-rendered disclosure button before deferred client hydration finishes resets aria-expanded and hides the opened panel.
Preconditions
- Server-rendered interactive control (such as an accordion or disclosure) operable before deferred hydration completes
- Client initialization overwrites state with a hardcoded closed default instead of reading existing DOM attributes
Reproduction steps
- Activate the server-rendered disclosure button before hydration
- Run the deferred client hydration pass
- Verify aria-expanded remains true and the disclosure panel stays visible
Independent acceptance condition
After activating the disclosure control prior to the hydration event and then completing hydration, aria-expanded remains true and the disclosure panel remains visible and topmost.
Initialize client state from the current DOM attribute state (or replay queued interactions) instead of resetting to a static default.
node src/cli.mjs verify --case ssr-disclosure-hydration-resetMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- Synthetic event-driven hydration trigger representing deferred script execution
- Does not test full framework virtual-DOM tree mismatches
Open select popup keeps stale options after background refresh
dynamic-select-stale-options | html
The native options change while the popup keeps old labels and index handlers, so a visible label selects a different submitted value.
Preconditions
- One single native select is the authoritative option list; it may be hidden.
- The custom popup is explicitly declared complete and nonvirtualized, with an inspectable value for every option.
- Background refresh changes labels, order and values while the popup is open.
Reproduction steps
- Open the saved-run popup.
- Request a background refresh and wait for its completion.
- Compare current labels/order, choose the first visible run and submit.
- Choose a different run and reset the form.
Independent acceptance condition
After the asynchronous refresh, ordered label/value/disabled/selected tuples match the current native options. Browser pointer selection of the visible unique label sets and submits the matching native value; after reset the trigger and popup match the native default.
Rebuild or reconcile the open popup when native options change; bind actions to stable option values and synchronize again after reset.
node src/cli.mjs verify --case dynamic-select-stale-optionsMeasured outcome and limitations
2026-11-10T13:57:58.227Z, Chromium 157.0.8103.50: 4 of 4 outcomes matched expectation. Exact dependency versions and input hashes are recorded in evidence.json.
| Variant | Viewport | Behavior passed |
|---|---|---|
| broken | 360×640 | No |
| fixed | 360×640 | Yes |
| broken | 390×844 | No |
| fixed | 390×844 | Yes |
- Snapshot consistency alone does not establish that click handlers submit the correct value. The fixture verifier checks that separately.
- Partial, virtualized, closed, multi-select, grouped or over-cap widgets are unsupported; completeness is an operator declaration, not inferred from DOM size.
- The clean example uses synthetic run labels and values, not project source or customer data.
- Chromium viewport emulation is not physical-device or assistive-technology certification.
Local execution and repeat checks
Download the source toolkit, install dependencies and Chromium. The verifier runs local synthetic pages and blocks external requests from the fixtures.
Reproleaf 0.8.0 source toolkit
npm ci --ignore-scripts
npx playwright install chromium
node src/cli.mjs verify --allThe complete run records 40 outcomes: 10 cases, two variants and two viewports. The intentionally broken variant is expected to fail the behavior condition. recordedAt and matching source hashes matter rather than a permanent passed badge.