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

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

  1. Scroll the document to the contact panel
  2. Reach the top of the nested panel
  3. 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-trap

Measured 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.

Observations for this case
VariantViewportBehavior passed
broken360×640No
fixed360×640Yes
broken390×844No
fixed390×844Yes
  • CDP touch injection is Chromium-specific
  • Wheel checks are separate from touch checks
  • Not physical iOS or Android evidence

Permanent citation for this case

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

  1. Open the scene at a short viewport height
  2. Increase viewport height without changing width
  3. 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-gap

Measured 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.

Observations for this case
VariantViewportBehavior passed
broken360×640No
fixed360×640Yes
broken390×844No
fixed390×844Yes
  • 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

Permanent citation for this case

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

  1. Scroll to the embedded tap game
  2. Start a vertical swipe in the canvas
  3. 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-trap

Measured 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.

Observations for this case
VariantViewportBehavior passed
broken360×640No
fixed360×640Yes
broken390×844No
fixed390×844Yes
  • 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

Permanent citation for this case

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

  1. Open the grid at a narrow mobile viewport
  2. Inspect the document width
  3. 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-overflow

Measured 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.

Observations for this case
VariantViewportBehavior passed
broken360×640No
fixed360×640Yes
broken390×844No
fixed390×844Yes
  • 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

Permanent citation for this case

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

  1. Activate the submit button to start the async request
  2. Immediately activate the submit button a second time while in flight
  3. 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-fire

Measured 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.

Observations for this case
VariantViewportBehavior passed
broken360×640No
fixed360×640Yes
broken390×844No
fixed390×844Yes
  • Synthetic timer-based async handler, not a backend idempotency key check
  • Client-side locking complements rather than replaces server-side idempotency

Permanent citation for this case

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

  1. Activate the server-rendered disclosure button before hydration
  2. Run the deferred client hydration pass
  3. 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-reset

Measured 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.

Observations for this case
VariantViewportBehavior passed
broken360×640No
fixed360×640Yes
broken390×844No
fixed390×844Yes
  • Synthetic event-driven hydration trigger representing deferred script execution
  • Does not test full framework virtual-DOM tree mismatches

Permanent citation for this case

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

  1. Open the saved-run popup.
  2. Request a background refresh and wait for its completion.
  3. Compare current labels/order, choose the first visible run and submit.
  4. 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-options

Measured 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.

Observations for this case
VariantViewportBehavior passed
broken360×640No
fixed360×640Yes
broken390×844No
fixed390×844Yes
  • 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.

Permanent citation for this case

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 --all

The 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.

MIT | Icon licenses