Full evidence for this PR: timestamps, DOM measurements, and the driver and seed scripts. The PR body has the condensed tables.
Scope: this changes ordinary portrait and moderately tall SVG click targets, and the maximum for very wide rasters, as well as extreme tall PNG zoom. No PR title was supplied; a title limited to extreme tall PNGs would omit these visible changes.
Real-app comparison for #29740: before 5b9731cedc → after 5a9fa5bda2. Both versions ran from their own checkouts with T3CODE_DEV_SEED=0 vp run dev; no product source or database rows were patched for evidence. Six of six lead-scoped rows captured (six of eight original matrix rows), including all eight requested viewport variants. No scoped row is unverified.
| Matrix row | Capture status |
|---|---|
| R1 | captured: 1920×1050 and live resize to 1920×1280 |
| R2 | captured: 1280×800 classic and 390×844 narrow, with 639→640→390 resize |
| R3 | captured: 1440×900 portrait |
| R4 | captured: 1440×900 landscape |
| R5 | not captured (lead scoped out: unchanged behaviour) |
| R6 | captured: 1280×800 wide raster, including remote edge and return |
| R7 | captured: 1280×800 SVG and viewBox-only SVG control |
| R8 | not captured (lead scoped out: unchanged behaviour) |
Environment and comparability
Playwright 1.60.0, Chromium headless shell 148.0.7778.96 on Linux; no device emulation (including narrow web), DPR 1, browser zoom 100%, font scaling 100%, app root 16px with default system fonts (DejaVu Sans). prefers-reduced-motion: reduce; Date frozen at 2026-11-03T01:00:00Z, timers running. Every row below states its viewport, app theme, and scrollbar mode. Overlay means Chromium’s default hidden/overlay scrollbar layout, measured gutter 0; classic means Chromium launched with ignoreDefaultArgs: ["--hide-scrollbars"], with the app’s actual 6px scrollbar gutter verified in R2.
Both sides use identical synthetic fixture bytes and assistant markdown, the same seven-item gallery, the thread title “Image zoom evidence”, matching collapsed panels and thumbnail scroll position. The R2 gallery contains the requested tall and desktop images plus the other shared fixtures; the wrap control therefore visits item 7. Images were rendered by an actual Codex reply, not uploaded through the composer. Fixture sources: tall 1170×26490, desktop 1440×6995, landscape 1600×900; generated portrait 1170×2532, wide 16000×900, explicit SVG 1170×4000, and viewBox-only SVG 1174×920.
Before every saved still, the driver awaited network idle and document.fonts.ready, moved the pointer away, and required two complete viewport PNGs 500ms apart to be byte-identical. All saved stills passed. Every final still, diff, and recording was decoded and visually inspected using labeled review sheets; far-edge and viewBox recording frames were also inspected. Rejected attempts with background scroll drift were retaken and are not published.
Diff0 is a full-surface, zero-threshold RGB difference amplified to white for any changed channel, including a one-level change. DiffT uses the same mask with difference >12/255. Black is unchanged; white is changed. Exact same dimensions were compared. All fit/reset pairs have zero changed pixels at threshold 0; all R4 states are also exactly identical. Animated WebPs are full-surface 6fps recordings, each below 10MiB. Stills retain original viewport resolution. R1 resize uses a 1920×1280 recording canvas (initial 1050px view letterboxed); the R2 narrow recording has a 390×844 canvas, so its transient 639/640px views scale down to preserve the full surface.
What else changed
- R1/R2: after click, the tall PNG and viewer become wider; different numbered bands are visible at the center anchor. The raster maximum rises beyond 8× fit to natural width. Viewer bounds, edge shadow/focus ring, exposed background and indexed caption position move with that geometry.
- R2 classic: the after-click 6px sideways overflow disappears while a vertical scrollbar remains. At natural width, genuine horizontal overflow and panning remain. At maximum, Right/Left pans after; before, its tiny scrollbar-sized overflow falls through to gallery navigation and Left returns to the original item.
- R2 narrow: the readable-width target changes across the existing 640px breakpoint; each live resize refits. Controls remain visible in the complete narrow captures.
- R3: ordinary portrait click changes from 2× to about 3.42× fit (1170px). Its maximum remains 8×. The larger click target changes the visible crop and the distance dragged to reach the bottom.
- R6: click is unchanged at 2×; maximum increases from 8× to about 14.79× (16000px natural width). The crop, numbered-column size, viewer height and caption position change at maximum and at the remote edge.
- R7: explicit SVG click changes from 2× to about 5.78× and fills width. Its maximum remains 8×; the viewBox-only SVG fit is unchanged. The click crop, viewer width and caption position follow the new target.
- No unexpected visible differences were found in the selected still pairs. R4 is pixel-identical at fit, click, max and reset. R3 max, R6 click, and R7 max/viewBox fit are also pixel-identical. “Nothing else changed” applies only to those zero-threshold comparisons, not to untested entry points.
- Initial fit is unchanged. This evidence does not claim that wheel-down now pans or that tall images open at readable width automatically. Vertical wheel/Ctrl-wheel behavior was not exercised; maximum zoom was reached with the keyboard.
Interaction pairs
Timestamps below are driver elapsed seconds, with t=0 at the open action, and appear above each recording pair. They describe the same actions on both sides, including settled-state milestones. They are not frame-exact WebP seek positions: recording/transcode introduces a short preroll and capture offset. Clips are sampled at 6fps; the first encoded fitted frame is noted per pair. Each sequence opens the image, clicks, drags, exercises Enter/Space/0, reaches the cap with 16 plus keys plus 3 extra inputs, and resets. R3 adds repeated drags to the bottom. The driver records the DOM metrics at these milestones.
R1 — 1920×1050, dark, overlay/hidden, 0px gutter
Environment: Chromium 148.0.7778.96 / Playwright 1.60.0; no device emulation; DPR 1; fonts and browser zoom 100%; viewport 1920×1050; dark; overlay/hidden, 0px gutter; frozen clock and reduced motion as above.
Extreme tall raster: click and maximum now reach natural width 1170px (~29.76× fit), versus 78.61px click / 314.47px maximum before. No sideways overflow at the after-click target.
| Script action / settled milestone | Before 5b9731cedc, seconds | After 5a9fa5bda2, seconds |
|---|---|---|
| Open | 0.000 | 0.000 |
| settled fit | 1.291 | 1.394 |
| Center click | 1.794 | 1.895 |
| settled click | 2.800 | 3.002 |
| Drag + Down | 3.301 | 3.503 |
| Enter → Space → 0 | 4.731 | 5.073 |
| 16 plus → 3 extra plus | 6.029 | 6.351 |
| settled max | 8.319 | 8.678 |
| Minus → 0 | 8.821 | 9.179 |
| settled reset | 10.083 | 10.402 |
| Close | 10.584 | 10.903 |
Recording reference: first encoded fit frame ≈0.500s before / 0.666s after; durations 11.499s / 11.832s. These references are approximate to 0.2s and do not replace the driver timestamps.
| Before recording 5b9731cedc | After recording 5a9fa5bda2 |
|---|---|
| Settled state | Before 5b9731cedc | After 5a9fa5bda2 | Diff0 5b9731cedc → 5a9fa5bda2 | DiffT (>12/255) 5b9731cedc → 5a9fa5bda2 |
|---|---|---|---|---|
| fit | ||||
| click | ||||
| max | ||||
| reset |
DOM measurements: widths in CSS px; C/S/O = viewer clientWidth / scrollWidth / offsetWidth; zoom is the region’s aria-live text (percentage of fit). Extra rows record interaction states even when no separate still was required.
| Side / state | Natural W×H | Image width | Viewer C/S/O | Scroll left/top | aria-live |
|---|---|---|---|---|---|
| before / fit | 1170×26490 | 39.296875 | 39/39/39 | 0/0 | 100% zoom |
| before / click | 1170×26490 | 78.609375 | 79/79/79 | 0/445 | 200% zoom |
| before / max | 1170×26490 | 314.468750 | 314/314/314 | 0/3119 | 800% zoom |
| before / reset | 1170×26490 | 39.296875 | 39/39/39 | 0/0 | 100% zoom |
| after / fit | 1170×26490 | 39.296875 | 39/39/39 | 0/0 | 100% zoom |
| after / click | 1170×26490 | 1170.000000 | 1170/1170/1170 | 0/12800 | 2976% zoom |
| after / max | 1170×26490 | 1170.000000 | 1170/1170/1170 | 0/12818 | 2976% zoom |
| after / reset | 1170×26490 | 39.296875 | 39/39/39 | 0/0 | 100% zoom |
Diff changed-pixel counts (zero / threshold12): fit: 0 / 0; click: 1,058,333 / 1,000,715; max: 1,030,966 / 996,782; reset: 0 / 0.
R1resize — 1920×1280, dark, overlay/hidden, 0px gutter
Environment: Chromium 148.0.7778.96 / Playwright 1.60.0; no device emulation; DPR 1; fonts and browser zoom 100%; viewport 1920×1280; dark; overlay/hidden, 0px gutter; frozen clock and reduced motion as above.
Live resize while zoomed refits at 1920×1280, covering the 86%-height branch (rendered height 1100.796875px). Repeated click reaches natural width 1170px (~24.06× fit).
| Script action / settled milestone | Before 5b9731cedc, seconds | After 5a9fa5bda2, seconds |
|---|---|---|
| Open | 0.000 | 0.000 |
| click at 1920 x 1050, then resize to 1920 x 1280 and verify refit | 0.639 | 0.367 |
| settled fit | 3.015 | 2.814 |
| Center click | 3.516 | 3.315 |
| settled click | 4.819 | 4.647 |
| Drag + Down | 5.320 | 5.148 |
| Enter → Space → 0 | 6.971 | 7.055 |
| 16 plus → 3 extra plus | 8.240 | 8.346 |
| settled max | 10.794 | 10.763 |
| Minus → 0 | 11.296 | 11.265 |
| settled reset | 12.710 | 12.587 |
| Close | 13.212 | 13.088 |
Recording reference: first encoded fit frame ≈0.833s before / 0.500s after; durations 14.166s / 13.999s. These references are approximate to 0.2s and do not replace the driver timestamps.
| Before recording 5b9731cedc | After recording 5a9fa5bda2 |
|---|---|
| Settled state | Before 5b9731cedc | After 5a9fa5bda2 | Diff0 5b9731cedc → 5a9fa5bda2 | DiffT (>12/255) 5b9731cedc → 5a9fa5bda2 |
|---|---|---|---|---|
| fit | ||||
| click | ||||
| max | ||||
| reset |
DOM measurements: widths in CSS px; C/S/O = viewer clientWidth / scrollWidth / offsetWidth; zoom is the region’s aria-live text (percentage of fit). Extra rows record interaction states even when no separate still was required.
| Side / state | Natural W×H | Image width | Viewer C/S/O | Scroll left/top | aria-live |
|---|---|---|---|---|---|
| before / fit | 1170×26490 | 48.609375 | 49/49/49 | 0/0 | 100% zoom |
| before / click | 1170×26490 | 97.234375 | 97/97/97 | 0/549 | 200% zoom |
| before / max | 1170×26490 | 388.953125 | 389/389/389 | 0/3853 | 800% zoom |
| before / reset | 1170×26490 | 48.609375 | 49/49/49 | 0/0 | 100% zoom |
| before / preResizeClick | 1170×26490 | 78.609375 | 79/79/79 | 0/445 | 200% zoom |
| before / resizeRefit | 1170×26490 | 48.609375 | 49/49/49 | 0/0 | 100% zoom |
| after / fit | 1170×26490 | 48.609375 | 49/49/49 | 0/0 | 100% zoom |
| after / click | 1170×26490 | 1170.000000 | 1170/1170/1170 | 0/12672 | 2406% zoom |
| after / max | 1170×26490 | 1170.000000 | 1170/1170/1170 | 0/12695 | 2406% zoom |
| after / reset | 1170×26490 | 48.609375 | 49/49/49 | 0/0 | 100% zoom |
| after / preResizeClick | 1170×26490 | 1170.000000 | 1170/1170/1170 | 0/12800 | 2976% zoom |
| after / resizeRefit | 1170×26490 | 48.609375 | 49/49/49 | 0/0 | 100% zoom |
Diff changed-pixel counts (zero / threshold12): fit: 0 / 0; click: 1,300,641 / 1,235,967; max: 1,265,115 / 1,233,399; reset: 0 / 0.
R2 — 1280×800, dark, classic, measured 6px zoomed gutter
Environment: Chromium 148.0.7778.96 / Playwright 1.60.0; no device emulation; DPR 1; fonts and browser zoom 100%; viewport 1280×800; dark; classic, measured 6px zoomed gutter; frozen clock and reduced motion as above.
Classic scrollbar proof: after click offsetWidth 1082 − clientWidth 1076 = 6px; scrollWidth 1076 equals clientWidth, so there is no sideways overflow. Before click offset 57 / client 51 / scroll 57 has 6px overflow. At after maximum, scrollWidth 1170 > clientWidth 1076 retains genuine horizontal panning. Fit gallery keys and Previous/Next wrapping are recorded.
| Script action / settled milestone | Before 5b9731cedc, seconds | After 5a9fa5bda2, seconds |
|---|---|---|
| Open | 0.001 | 0.000 |
| settled fit | 0.885 | 0.860 |
| Center click | 1.386 | 1.362 |
| settled click | 2.354 | 2.184 |
| Drag + Down | 2.856 | 2.685 |
| Enter → Space → 0 | 3.824 | 3.685 |
| 16 plus → 3 extra plus | 5.278 | 4.950 |
| settled max | 7.419 | 7.309 |
| Right, then Left at max | 7.920 | 7.810 |
| Minus → 0 | 8.998 | 8.865 |
| settled reset | 10.113 | 9.987 |
| Right/Left gallery; Previous/Next wrap | 10.615 | 10.488 |
| Close | 12.827 | 12.689 |
Recording reference: first encoded fit frame ≈0.333s before / 0.333s after; durations 13.832s / 13.666s. These references are approximate to 0.2s and do not replace the driver timestamps.
| Before recording 5b9731cedc | After recording 5a9fa5bda2 |
|---|---|
| Settled state | Before 5b9731cedc | After 5a9fa5bda2 | Diff0 5b9731cedc → 5a9fa5bda2 | DiffT (>12/255) 5b9731cedc → 5a9fa5bda2 |
|---|---|---|---|---|
| fit | ||||
| click | ||||
| max | ||||
| reset |
DOM measurements: widths in CSS px; C/S/O = viewer clientWidth / scrollWidth / offsetWidth; zoom is the region’s aria-live text (percentage of fit). Extra rows record interaction states even when no separate still was required.
| Side / state | Natural W×H | Image width | Viewer C/S/O | Scroll left/top | aria-live |
|---|---|---|---|---|---|
| before / fit | 1170×26490 | 28.265625 | 28/28/28 | 0/0 | 100% zoom |
| before / click | 1170×26490 | 56.531250 | 51/57/57 | 0/320 | 200% zoom |
| before / max | 1170×26490 | 226.125000 | 220/226/226 | 0/2206 | 800% zoom |
| before / reset | 1170×26490 | 28.265625 | 28/28/28 | 0/0 | 100% zoom |
| before / maxPan | 1440×6995 | 131.750000 | 132/132/132 | 0/0 | 100% zoom |
| before / maxPanReturned | 1170×26490 | 28.265625 | 28/28/28 | 0/0 | 100% zoom |
| before / galleryRight | 1440×6995 | 131.750000 | 132/132/132 | 0/0 | 100% zoom |
| before / galleryWrapped | 191×150 | 814.921875 | 815/815/815 | 0/0 | 100% zoom |
| before / galleryRestored | 1170×26490 | 28.265625 | 28/28/28 | 0/0 | 100% zoom |
| after / fit | 1170×26490 | 28.265625 | 28/28/28 | 0/0 | 100% zoom |
| after / click | 1170×26490 | 1075.593750 | 1076/1076/1082 | 0/11856 | 3805% zoom |
| after / max | 1170×26490 | 1170.000000 | 1076/1170/1082 | 47/12926 | 4139% zoom |
| after / reset | 1170×26490 | 28.265625 | 28/28/28 | 0/0 | 100% zoom |
| after / maxPan | 1170×26490 | 1170.000000 | 1076/1170/1082 | 87/12926 | 4139% zoom |
| after / maxPanReturned | 1170×26490 | 1170.000000 | 1076/1170/1082 | 47/12926 | 4139% zoom |
| after / galleryRight | 1440×6995 | 131.750000 | 132/132/132 | 0/0 | 100% zoom |
| after / galleryWrapped | 191×150 | 814.921875 | 815/815/815 | 0/0 | 100% zoom |
| after / galleryRestored | 1170×26490 | 28.265625 | 28/28/28 | 0/0 | 100% zoom |
Diff changed-pixel counts (zero / threshold12): fit: 0 / 0; click: 720,410 / 663,853; max: 697,558 / 658,708; reset: 0 / 0.
R2narrow — 390×844, light, overlay/hidden, 0px gutter
Environment: Chromium 148.0.7778.96 / Playwright 1.60.0; no device emulation; DPR 1; fonts and browser zoom 100%; viewport 390×844; light; overlay/hidden, 0px gutter; frozen clock and reduced motion as above.
Narrow web: after click fills 358.796875px (~11.88× fit). Live 639→640→390px resize refits each time; after click widths are 587.875, 492.796875 and 358.796875px respectively. This is a responsive desktop browser, not a native mobile capture.
| Script action / settled milestone | Before 5b9731cedc, seconds | After 5a9fa5bda2, seconds |
|---|---|---|
| Open | 0.000 | 0.000 |
| settled fit | 0.985 | 0.888 |
| Center click | 1.486 | 1.390 |
| settled click | 2.732 | 2.874 |
| Drag + Down | 3.233 | 3.381 |
| Enter → Space → 0 | 4.207 | 4.368 |
| 16 plus → 3 extra plus | 5.493 | 5.633 |
| settled max | 8.262 | 8.685 |
| Minus → 0 | 8.764 | 9.186 |
| settled reset | 9.848 | 10.241 |
| resize to 639 x 844 | 10.350 | 10.742 |
| resize to 640 x 844 | 11.510 | 11.821 |
| resize to 390 x 844 | 12.667 | 13.025 |
| Close | 13.839 | 14.126 |
Recording reference: first encoded fit frame ≈0.333s before / 0.333s after; durations 14.832s / 14.999s. These references are approximate to 0.2s and do not replace the driver timestamps.
| Before recording 5b9731cedc | After recording 5a9fa5bda2 |
|---|---|
| Settled state | Before 5b9731cedc | After 5a9fa5bda2 | Diff0 5b9731cedc → 5a9fa5bda2 | DiffT (>12/255) 5b9731cedc → 5a9fa5bda2 |
|---|---|---|---|---|
| fit | ||||
| click | ||||
| max | ||||
| reset |
DOM measurements: widths in CSS px; C/S/O = viewer clientWidth / scrollWidth / offsetWidth; zoom is the region’s aria-live text (percentage of fit). Extra rows record interaction states even when no separate still was required.
| Side / state | Natural W×H | Image width | Viewer C/S/O | Scroll left/top | aria-live |
|---|---|---|---|---|---|
| before / fit | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| before / click | 1170×26490 | 60.406250 | 60/60/60 | 0/342 | 200% zoom |
| before / max | 1170×26490 | 241.671875 | 242/242/242 | 0/2397 | 800% zoom |
| before / reset | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| before / resize639 | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| before / resize639Click | 1170×26490 | 60.406250 | 60/60/60 | 0/342 | 200% zoom |
| before / resize640 | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| before / resize640Click | 1170×26490 | 60.406250 | 60/60/60 | 0/342 | 200% zoom |
| before / resize390 | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| before / resize390Click | 1170×26490 | 60.406250 | 60/60/60 | 0/342 | 200% zoom |
| after / fit | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| after / click | 1170×26490 | 358.796875 | 359/359/359 | 0/3720 | 1188% zoom |
| after / max | 1170×26490 | 1170.000000 | 359/1170/359 | 406/12918 | 3873% zoom |
| after / reset | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| after / resize639 | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| after / resize639Click | 1170×26490 | 587.875000 | 588/588/588 | 0/6313 | 1946% zoom |
| after / resize640 | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| after / resize640Click | 1170×26490 | 492.796875 | 493/493/493 | 0/5237 | 1631% zoom |
| after / resize390 | 1170×26490 | 30.203125 | 30/30/30 | 0/0 | 100% zoom |
| after / resize390Click | 1170×26490 | 358.796875 | 359/359/359 | 0/3720 | 1188% zoom |
Diff changed-pixel counts (zero / threshold12): fit: 0 / 0; click: 298,505 / 246,106; max: 276,446 / 239,627; reset: 0 / 0.
R3 — 1440×900, dark, overlay/hidden, 0px gutter
Environment: Chromium 148.0.7778.96 / Playwright 1.60.0; no device emulation; DPR 1; fonts and browser zoom 100%; viewport 1440×900; dark; overlay/hidden, 0px gutter; frozen clock and reduced motion as above.
Ordinary portrait: click grows from 683.875px (2×) to 1170px (~3.42×), while maximum stays 2735.53125px (8×). Repeated drag reaches bottom: after scrollTop 1792 = scrollHeight 2532 − clientHeight 740; before 740 = 1480 − 740.
| Script action / settled milestone | Before 5b9731cedc, seconds | After 5a9fa5bda2, seconds |
|---|---|---|
| Open | 0.000 | 0.000 |
| settled fit | 1.010 | 0.981 |
| Center click | 1.511 | 1.482 |
| settled click | 2.439 | 2.321 |
| Drag + Down | 2.940 | 2.823 |
| Enter → Space → 0 | 6.610 | 6.511 |
| 16 plus → 3 extra plus | 7.895 | 7.786 |
| settled max | 10.038 | 9.917 |
| Minus → 0 | 10.539 | 10.419 |
| settled reset | 11.749 | 11.618 |
| Close | 12.250 | 12.120 |
Recording reference: first encoded fit frame ≈0.333s before / 0.333s after; durations 13.166s / 13.166s. These references are approximate to 0.2s and do not replace the driver timestamps.
| Before recording 5b9731cedc | After recording 5a9fa5bda2 |
|---|---|
| Settled state | Before 5b9731cedc | After 5a9fa5bda2 | Diff0 5b9731cedc → 5a9fa5bda2 | DiffT (>12/255) 5b9731cedc → 5a9fa5bda2 |
|---|---|---|---|---|
| fit | ||||
| click | ||||
| max | ||||
| reset |
DOM measurements: widths in CSS px; C/S/O = viewer clientWidth / scrollWidth / offsetWidth; zoom is the region’s aria-live text (percentage of fit). Extra rows record interaction states even when no separate still was required.
| Side / state | Natural W×H | Image width | Viewer C/S/O | Scroll left/top | aria-live |
|---|---|---|---|---|---|
| before / fit | 1170×2532 | 341.937500 | 342/342/342 | 0/0 | 100% zoom |
| before / click | 1170×2532 | 683.875000 | 684/684/684 | 0/370 | 200% zoom |
| before / max | 1170×2532 | 2735.531250 | 1229/2736/1229 | 753/2593 | 800% zoom |
| before / reset | 1170×2532 | 341.937500 | 342/342/342 | 0/0 | 100% zoom |
| before / dragBottom | 1170×2532 | 683.875000 | 684/684/684 | 0/740 | 200% zoom |
| after / fit | 1170×2532 | 341.937500 | 342/342/342 | 0/0 | 100% zoom |
| after / click | 1170×2532 | 1170.000000 | 1170/1170/1170 | 0/896 | 342% zoom |
| after / max | 1170×2532 | 2735.531250 | 1229/2736/1229 | 753/2593 | 800% zoom |
| after / reset | 1170×2532 | 341.937500 | 342/342/342 | 0/0 | 100% zoom |
| after / dragBottom | 1170×2532 | 1170.000000 | 1170/1170/1170 | 0/1792 | 342% zoom |
Diff changed-pixel counts (zero / threshold12): fit: 0 / 0; click: 614,386 / 609,355; max: 0 / 0; reset: 0 / 0.
R4 — 1440×900, dark, overlay/hidden, 0px gutter
Environment: Chromium 148.0.7778.96 / Playwright 1.60.0; no device emulation; DPR 1; fonts and browser zoom 100%; viewport 1440×900; dark; overlay/hidden, 0px gutter; frozen clock and reduced motion as above.
Landscape control: both sides remain 2× on click (2457.59375px) and 8× at maximum (9830.390625px). The drag pans without toggling back to fit. All four still pairs are zero-threshold identical.
| Script action / settled milestone | Before 5b9731cedc, seconds | After 5a9fa5bda2, seconds |
|---|---|---|
| Open | 0.000 | 0.000 |
| settled fit | 0.976 | 0.937 |
| Center click | 1.477 | 1.438 |
| settled click | 2.309 | 2.294 |
| Drag + Down | 2.811 | 2.795 |
| Enter → Space → 0 | 4.105 | 3.936 |
| 16 plus → 3 extra plus | 5.385 | 5.209 |
| settled max | 7.546 | 7.422 |
| Minus → 0 | 8.048 | 7.923 |
| settled reset | 9.618 | 9.243 |
| Close | 10.120 | 9.745 |
Recording reference: first encoded fit frame ≈0.333s before / 0.333s after; durations 10.999s / 10.666s. These references are approximate to 0.2s and do not replace the driver timestamps.
| Before recording 5b9731cedc | After recording 5a9fa5bda2 |
|---|---|
| Settled state | Before 5b9731cedc | After 5a9fa5bda2 | Diff0 5b9731cedc → 5a9fa5bda2 | DiffT (>12/255) 5b9731cedc → 5a9fa5bda2 |
|---|---|---|---|---|
| fit | ||||
| click | ||||
| max | ||||
| reset |
DOM measurements: widths in CSS px; C/S/O = viewer clientWidth / scrollWidth / offsetWidth; zoom is the region’s aria-live text (percentage of fit). Extra rows record interaction states even when no separate still was required.
| Side / state | Natural W×H | Image width | Viewer C/S/O | Scroll left/top | aria-live |
|---|---|---|---|---|---|
| before / fit | 1600×900 | 1228.796875 | 1229/1229/1229 | 0/0 | 100% zoom |
| before / click | 1600×900 | 2457.593750 | 1229/2458/1229 | 613/321 | 200% zoom |
| before / max | 1600×900 | 9830.390625 | 1229/9830/1229 | 4301/2394 | 800% zoom |
| before / reset | 1600×900 | 1228.796875 | 1229/1229/1229 | 0/0 | 100% zoom |
| after / fit | 1600×900 | 1228.796875 | 1229/1229/1229 | 0/0 | 100% zoom |
| after / click | 1600×900 | 2457.593750 | 1229/2458/1229 | 613/321 | 200% zoom |
| after / max | 1600×900 | 9830.390625 | 1229/9830/1229 | 4301/2394 | 800% zoom |
| after / reset | 1600×900 | 1228.796875 | 1229/1229/1229 | 0/0 | 100% zoom |
Diff changed-pixel counts (zero / threshold12): fit: 0 / 0; click: 0 / 0; max: 0 / 0; reset: 0 / 0.
R6 — 1280×800, dark, overlay/hidden, 0px gutter
Environment: Chromium 148.0.7778.96 / Playwright 1.60.0; no device emulation; DPR 1; fonts and browser zoom 100%; viewport 1280×800; dark; overlay/hidden, 0px gutter; frozen clock and reduced motion as above.
Wide raster: both click at 2163.1875px (2×); after maximum passes 8× to natural 16000px (~14.79×), versus 8652.796875px (8×) before. Horizontal deltaX-only wheel reaches the far-right edge (scrollLeft 14918 after / 7571 before) and returns to 0; genuine overflow is retained.
| Script action / settled milestone | Before 5b9731cedc, seconds | After 5a9fa5bda2, seconds |
|---|---|---|
| Open | 0.000 | 0.000 |
| settled fit | 0.828 | 0.940 |
| Center click | 1.329 | 1.442 |
| settled click | 2.124 | 2.189 |
| Drag + Down | 2.625 | 2.691 |
| Enter → Space → 0 | 3.606 | 3.757 |
| 16 plus → 3 extra plus | 4.876 | 5.023 |
| settled max | 7.029 | 7.189 |
| Horizontal wheel far right → left | 7.531 | 7.690 |
| settled far-right | 8.851 | 8.984 |
| Minus → 0 | 9.933 | 10.067 |
| settled reset | 11.051 | 11.257 |
| Close | 11.552 | 11.758 |
Recording reference: first encoded fit frame ≈0.333s before / 0.333s after; durations 12.499s / 12.666s. These references are approximate to 0.2s and do not replace the driver timestamps.
| Before recording 5b9731cedc | After recording 5a9fa5bda2 |
|---|---|
| Settled state | Before 5b9731cedc | After 5a9fa5bda2 | Diff0 5b9731cedc → 5a9fa5bda2 | DiffT (>12/255) 5b9731cedc → 5a9fa5bda2 |
|---|---|---|---|---|
| fit | ||||
| click | ||||
| max | ||||
| far-right | ||||
| reset |
DOM measurements: widths in CSS px; C/S/O = viewer clientWidth / scrollWidth / offsetWidth; zoom is the region’s aria-live text (percentage of fit). Extra rows record interaction states even when no separate still was required.
| Side / state | Natural W×H | Image width | Viewer C/S/O | Scroll left/top | aria-live |
|---|---|---|---|---|---|
| before / fit | 16000×900 | 1081.593750 | 1082/1082/1082 | 0/0 | 100% zoom |
| before / click | 16000×900 | 2163.187500 | 1082/2163/1082 | 541/0 | 200% zoom |
| before / max | 16000×900 | 8652.796875 | 1082/8653/1082 | 3791/0 | 800% zoom |
| before / far-right | 16000×900 | 8652.796875 | 1082/8653/1082 | 7571/0 | 800% zoom |
| before / reset | 16000×900 | 1081.593750 | 1082/1082/1082 | 0/0 | 100% zoom |
| before / farRight | 16000×900 | 8652.796875 | 1082/8653/1082 | 7571/0 | 800% zoom |
| before / returnLeft | 16000×900 | 8652.796875 | 1082/8653/1082 | 0/0 | 800% zoom |
| after / fit | 16000×900 | 1081.593750 | 1082/1082/1082 | 0/0 | 100% zoom |
| after / click | 16000×900 | 2163.187500 | 1082/2163/1082 | 541/0 | 200% zoom |
| after / max | 16000×900 | 16000.000000 | 1082/16000/1082 | 7469/131 | 1479% zoom |
| after / far-right | 16000×900 | 16000.000000 | 1082/16000/1082 | 14918/131 | 1479% zoom |
| after / reset | 16000×900 | 1081.593750 | 1082/1082/1082 | 0/0 | 100% zoom |
| after / farRight | 16000×900 | 16000.000000 | 1082/16000/1082 | 14918/131 | 1479% zoom |
| after / returnLeft | 16000×900 | 16000.000000 | 1082/16000/1082 | 0/131 | 1479% zoom |
Diff changed-pixel counts (zero / threshold12): fit: 0 / 0; click: 0 / 0; max: 467,221 / 412,638; far-right: 607,844 / 553,370; reset: 0 / 0.
R7 — 1280×800, light, overlay/hidden, 0px gutter
Environment: Chromium 148.0.7778.96 / Playwright 1.60.0; no device emulation; DPR 1; fonts and browser zoom 100%; viewport 1280×800; light; overlay/hidden, 0px gutter; frozen clock and reduced motion as above.
Explicit .svg source: after click fills 1081.59375px (~5.78×), versus 374.390625px (2×) before. Maximum stays 1497.59375px (8×). Next opens the viewBox-only .svg: Chromium reports natural 191×150 but renders 814.921875×640, demonstrating uncapped vector fit rather than a tiny raster-sized fit.
| Script action / settled milestone | Before 5b9731cedc, seconds | After 5a9fa5bda2, seconds |
|---|---|---|
| Open | 0.000 | 0.000 |
| settled fit | 0.868 | 0.976 |
| Center click | 1.369 | 1.478 |
| settled click | 2.212 | 2.307 |
| Drag + Down | 2.714 | 2.808 |
| Enter → Space → 0 | 4.205 | 4.400 |
| 16 plus → 3 extra plus | 5.494 | 5.673 |
| settled max | 7.742 | 8.169 |
| Minus → 0 | 8.244 | 8.670 |
| settled reset | 9.554 | 10.009 |
| Next opens viewBox-only .svg control | 10.055 | 10.511 |
| settled viewbox-fit | 10.926 | 11.489 |
| Close | 11.427 | 11.990 |
Recording reference: first encoded fit frame ≈0.333s before / 0.333s after; durations 12.332s / 12.999s. These references are approximate to 0.2s and do not replace the driver timestamps.
| Before recording 5b9731cedc | After recording 5a9fa5bda2 |
|---|---|
| Settled state | Before 5b9731cedc | After 5a9fa5bda2 | Diff0 5b9731cedc → 5a9fa5bda2 | DiffT (>12/255) 5b9731cedc → 5a9fa5bda2 |
|---|---|---|---|---|
| fit | ||||
| click | ||||
| max | ||||
| reset | ||||
| viewbox-fit |
DOM measurements: widths in CSS px; C/S/O = viewer clientWidth / scrollWidth / offsetWidth; zoom is the region’s aria-live text (percentage of fit). Extra rows record interaction states even when no separate still was required.
| Side / state | Natural W×H | Image width | Viewer C/S/O | Scroll left/top | aria-live |
|---|---|---|---|---|---|
| before / fit | 1170×4000 | 187.187500 | 187/187/187 | 0/0 | 100% zoom |
| before / click | 1170×4000 | 374.390625 | 374/374/374 | 0/320 | 200% zoom |
| before / max | 1170×4000 | 1497.593750 | 1082/1498/1082 | 208/2240 | 800% zoom |
| before / reset | 1170×4000 | 187.187500 | 187/187/187 | 0/0 | 100% zoom |
| before / viewbox-fit | 191×150 | 814.921875 | 815/815/815 | 0/0 | 100% zoom |
| after / fit | 1170×4000 | 187.187500 | 187/187/187 | 0/0 | 100% zoom |
| after / click | 1170×4000 | 1081.593750 | 1082/1082/1082 | 0/1529 | 578% zoom |
| after / max | 1170×4000 | 1497.593750 | 1082/1498/1082 | 208/2240 | 800% zoom |
| after / reset | 1170×4000 | 187.187500 | 187/187/187 | 0/0 | 100% zoom |
| after / viewbox-fit | 191×150 | 814.921875 | 815/815/815 | 0/0 | 100% zoom |
Diff changed-pixel counts (zero / threshold12): fit: 0 / 0; click: 765,239 / 639,139; max: 0 / 0; reset: 0 / 0; viewbox-fit: 0 / 0.
Coverage limits and skipped secondary interactions
Unverified scoped rows: none. R5 and R8 were explicitly scoped out by the lead as unchanged behaviour and were not captured. The broader audit inventory is not presented as tested.
- Off-center pointer-anchor behavior was not separately captured; clicks used viewer center and keyboard toggles were recorded. A second pointer click to toggle out was not separately captured; Enter/0 supplied the reset evidence.
- Vertical wheel and Ctrl-wheel zoom, wheel delta line/page modes, keyboard repeat/modifier rejection and double-click suppression were not exercised. Plus/minus/0, Enter, Space, drag suppression and ArrowDown were exercised.
- R2 gallery Right/Left and wrapping were captured at fit, and Left/Right at maximum. Gallery navigation specifically at the corrected fill-width click target was not separately captured. Seven shared fixtures were seeded rather than a two-item-only gallery.
- R4’s Left/Right-versus-gallery distinction and an end-to-end horizontal edge traversal were not separately captured; its diagonal drag and both-axis scroll metrics are recorded. R6 supplies the remote horizontal-edge traversal.
- Separate file-preview, PR-summary, composer-attachment, Mermaid and HTML-image entry-path parity was not captured; the exercised entry is assistant markdown in the real chat view. No matching PR was created for evidence.
- Electron window-controls-overlay geometry, long-caption truncation, load-delay timing, decode fallbacks and error/null/empty/video/accessibility branches were not captured. The latter branches bypass the changed zoom component. Native mobile has a separate viewer and was outside the requested surface.
Reproduction scripts
Scripts and raw artifacts are retained under /tmp/issue-lead-29740-r1/evidence-capture/. Pairing tokens, private auth storage and browser endpoints are intentionally omitted. The snippets below contain only synthetic fixtures and the capture logic; use your own fresh paired context.
Synthetic extra fixtures — make-fixtures.py
| 1 | from PIL import Image,ImageDraw,ImageFont |
| 2 | from pathlib import Path |
| 3 | p=Path('/tmp/issue-lead-29740-r1/evidence-capture/fixtures');p.mkdir(exist_ok=True) |
| 4 | f=ImageFont.truetype('/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf',42) |
| 5 | for name,w,h in [('portrait',1170,2532),('wide',16000,900)]: |
| 6 | im=Image.new('RGB',(w,h),'#eaf1f7');d=ImageDraw.Draw(im) |
| 7 | if name=='wide': |
| 8 | for i,x in enumerate(range(0,w,500)): |
| 9 | d.rectangle((x,0,x+499,h-1),fill=['#f4c95d','#75c9c8','#e9a6a6','#bbc4ec'][i%4]);d.text((x+30,70),f'COLUMN {i+1:02}',font=f,fill='#162537');d.text((x+30,140),f'x={x}',font=f,fill='#162537');d.line((x,0,x,h),fill='#162537',width=5) |
| 10 | else: |
| 11 | for i,y in enumerate(range(0,h,300)): |
| 12 | d.rectangle((0,y,w,y+299),fill=['#f4c95d','#75c9c8','#e9a6a6','#bbc4ec'][i%4]);d.text((45,y+70),f'PORTRAIT BAND {i+1:02}',font=f,fill='#162537');d.text((45,y+140),f'1170 x 2532 / y={y}',font=f,fill='#162537') |
| 13 | d.rectangle((3,3,w-4,h-4),outline='#111827',width=8);im.save(p/(name+'.png')) |
| 14 | for name,w,h,explicit in [('moderate',1170,4000,True),('viewbox',1174,920,False)]: |
| 15 | attrs=f'width="{w}" height="{h}"' if explicit else '' |
| 16 | chunks=[f'<svg xmlns="http://www.w3.org/2000/svg" {attrs} viewBox="0 0 {w} {h}">'] |
| 17 | for i,y in enumerate(range(0,h,250)): |
| 18 | col=['#f4c95d','#75c9c8','#e9a6a6','#bbc4ec'][i%4];chunks.append(f'<rect y="{y}" width="{w}" height="250" fill="{col}"/><text x="40" y="{y+90}" font-size="42" font-family="sans-serif" fill="#162537">SVG {name.upper()} BAND {i+1:02}</text>') |
| 19 | chunks.append(f'<rect x="4" y="4" width="{w-8}" height="{h-8}" fill="none" stroke="#162537" stroke-width="8"/></svg>');(p/(name+'.svg')).write_text(''.join(chunks)) |
| 20 | print(p) |
Essential real-app seeding and appearance setup — seed-reproduction.cjs
| 1 | // Essential seed operations used for both real-app databases. No SQLite fixture writes. |
| 2 | const { chromium } = require('/home/ubuntu/t3code/node_modules/.pnpm/playwright@1.60.0/node_modules/playwright'); |
| 3 | const fs = require('node:fs'); |
| 4 | const root = '/tmp/issue-lead-29740-r1/evidence-capture'; |
| 5 | const fixtures = [ |
| 6 | ['R1 Tall','/tmp/issue-lead-29740-r1/fixtures/tall-1170x26490.png'], |
| 7 | ['R2 Desktop','/tmp/issue-lead-29740-r1/fixtures/desktop-1440x6995.png'], |
| 8 | ['R3 Portrait',root+'/fixtures/portrait.png'], |
| 9 | ['R4 Landscape','/tmp/issue-lead-29740-r1/fixtures/landscape-1600x900.png'], |
| 10 | ['R6 Wide',root+'/fixtures/wide.png'], |
| 11 | ['R7 Moderate SVG',root+'/fixtures/moderate.svg'], |
| 12 | ['R7 Viewbox SVG',root+'/fixtures/viewbox.svg'], |
| 13 | ]; |
| 14 | async function seed(page) { |
| 15 | await page.getByRole('button',{name:'New thread',exact:true}).click(); |
| 16 | await page.locator('[contenteditable=true]').fill('Reply with exactly these markdown lines and nothing else, no tools:\n\n'+fixtures.map(([name,file])=>``).join('\n\n')); |
| 17 | await page.getByRole('button',{name:'Submit message',exact:true}).click(); |
| 18 | // Images are nested in the app's image controls, so use the image element selector. |
| 19 | await page.locator('img[alt="R7 Viewbox SVG"]').last().waitFor({state:'attached',timeout:120000}); |
| 20 | await page.getByRole('button',{name:/Thread actions for/}).click(); |
| 21 | await page.getByRole('menuitem',{name:/Rename/}).click(); |
| 22 | await page.getByRole('textbox',{name:'Thread title'}).fill('Image zoom evidence'); |
| 23 | await page.getByRole('textbox',{name:'Thread title'}).press('Enter'); |
| 24 | } |
| 25 | // Pair first using the startup pairing URL from the private dev log; if consumed, |
| 26 | // run `node apps/server/src/bin.ts pair --base-dir <checkout>/.t3` and use its new URL. |
| 27 | // Save context.storageState privately. For each theme, visit /settings/appearance, |
| 28 | // click `Use dark mode` or `Use light mode`, and save that context state separately. |
| 29 | module.exports={seed,fixtures}; |
Essential excerpts from the actual capture driver (full capture.cjs retained locally) — capture-essential.cjs
| 1 | // Essential excerpts from capture.cjs; cfg, page, meta, dir, start and event come from its paired real-app context. |
| 2 | const region=()=>page.locator('[aria-label$="zoomable image"]'); |
| 3 | const measure=async()=>region().evaluate(el=>{const img=el.querySelector('img'),b=img.getBoundingClientRect(),r=el.getBoundingClientRect();return {name:img.alt,naturalWidth:img.naturalWidth,naturalHeight:img.naturalHeight,imgWidth:b.width,imgHeight:b.height,viewerClientWidth:el.clientWidth,viewerScrollWidth:el.scrollWidth,viewerOffsetWidth:el.offsetWidth,viewerClientHeight:el.clientHeight,viewerScrollHeight:el.scrollHeight,viewerOffsetHeight:el.offsetHeight,scrollbarGutter:el.offsetWidth-el.clientWidth,scrollLeft:el.scrollLeft,scrollTop:el.scrollTop,viewerX:r.x,viewerY:r.y,zoomText:el.parentElement.querySelector('[aria-live]')?.textContent,mimeInferred:img.currentSrc.split('/').pop(),viewport:{width:innerWidth,height:innerHeight},dpr:devicePixelRatio,fontSize:getComputedStyle(document.documentElement).fontSize,reducedMotion:matchMedia('(prefers-reduced-motion: reduce)').matches,theme:document.documentElement.classList.contains('dark')?'dark':'light'};}); |
| 4 | const still=async(state)=>{await page.waitForLoadState('networkidle');await page.evaluate(()=>document.fonts.ready);await page.mouse.move(1,1);let identical=false;for(let n=0;n<8;n++){let a=await page.screenshot({animations:'disabled'});await pause(500);let b=await page.screenshot({animations:'disabled'});if(a.equals(b)){fs.writeFileSync(path.join(dir,state+'.png'),b);identical=true;break;}}if(!identical)throw Error('Unsettled pixels: '+state);meta.states[state]={...(await measure()),settledPixelIdentical500ms:true};await event('settled '+state,meta.states[state]);fs.writeFileSync(path.join(dir,'metadata.json'),JSON.stringify(meta,null,2));await pause(500);}; |
| 5 | await thumbnail.click(); await region().waitFor(); await region().locator('img').evaluate(img=>img.decode()); await still('fit'); |
| 6 | await event('click center of fitted viewer');await region().click();await still('click'); |
| 7 | await event('drag up and left; ArrowDown (post-drag click suppressed)');let box=await region().boundingBox();let x=box.x+Math.min(box.width/2,200),y=box.y+Math.min(box.height/2,300);await page.mouse.move(x,y);await page.mouse.down();await page.mouse.move(Math.max(box.x+8,x-100),Math.max(box.y+8,y-160),{steps:12});await page.mouse.up();await region().press('ArrowDown');if(row==='R3'){for(let i=0;i<7;i++){await page.mouse.move(x,y);await page.mouse.down();await page.mouse.move(x,Math.max(box.y+8,y-160),{steps:8});await page.mouse.up();}meta.states.dragBottom=await measure();}meta.states.drag=await measure();await pause(600); |
| 8 | await event('Enter resets to fit; Space repeats click target; 0 resets');await region().press('Enter');await pause(400);meta.states.enterReset=await measure();await region().press('Space');await pause(400);meta.states.spaceClick=await measure();await region().press('0');await pause(400); |
| 9 | await event('16 plus keys reach cap, then 3 additional plus keys');for(let i=0;i<16;i++){await region().press('+');await pause(70);}meta.states.capBeforeExtra=await measure();for(let i=0;i<3;i++)await region().press('+');await still('max'); |
| 10 | await event('minus then 0 reset to fit');await region().press('-');await pause(350);await region().press('0');await still('reset'); |
Essential export, amplified diff, upload and inspection steps
| 1 | # From each selected pair of PNGs (Pillow); full viewport, equal dimensions. |
| 2 | a = Image.open(before).convert("RGB") |
| 3 | b = Image.open(after).convert("RGB") |
| 4 | d = ImageChops.difference(a, b) |
| 5 | r, g, blue = d.split() |
| 6 | peak = ImageChops.lighter(ImageChops.lighter(r, g), blue) |
| 7 | for threshold in (0, 12): |
| 8 | mask = peak.point(lambda value: 255 if value > threshold else 0) |
| 9 | mask.convert("RGB").save(diff_filename) |
| 10 | # Chosen published recordings: 0.3s requested preroll, full original canvas. |
| 11 | subprocess.run([ |
| 12 | "ffmpeg", "-hide_banner", "-loglevel", "error", "-y", |
| 13 | "-ss", str(max(0, metadata["videoTrimStart"] - 0.3)), |
| 14 | "-i", metadata["videoRawPath"], |
| 15 | "-t", str(metadata["videoDuration"] + 0.3), |
| 16 | "-vf", "fps=6", "-c:v", "libwebp_anim", "-lossless", "0", |
| 17 | "-q:v", "80", "-compression_level", "5", "-loop", "0", "-an", destination |
| 18 | ], check=True) |
| 19 | # Upload PNGs and WebPs (<10MiB each); retain stdout verbatim. |
| 20 | subprocess.run(["python3", "-I", |
| 21 | "/tmp/issue-lead-29740-r1/cafe_upload.py", *files], check=True) |
| 22 | # All images/diffs were decoded with Pillow and displayed in labeled review sheets. |
| 23 | # All recordings were decoded and sampled through key states; R6 edge and R7 |
| 24 | # viewBox frames were additionally matched against their actual PNG states. |
All 152 uploader output lines are embedded verbatim above (136 PNG references and 16 animated WebP references). The complete URL list is also retained as uploaded-urls.md; source dimensions, per-state measurements and diff counts are in manifest.json. All uploads contain synthetic data only. No commits or PRs were made. Capture servers and browsers were stopped, and the temporary before checkout was removed after capture; the lead’s after checkout and this evidence directory were retained.