fix(rendering): harden responsive layouts #57
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/visual-rendering-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Confirmed defects fixed
Verification
npm run validatenpm run smoke:site -- http://127.0.0.1:4322 'iPhone 12'— 12 routes, status OKIntentionally retained
Decorative off-canvas shapes, rotated card stacking, and the mascot caption's layered frame treatment remain where they do not obscure text or controls.
Follow-up rendering regressions
A second independent pass found two boundary failures that the original checks missed:
The follow-up commit removes the caption's negative tablet offset, permits emergency display-heading wrapping, makes Notes grid tracks shrinkable, stacks constrained Notes rows by container width, and keeps the enlarged Notes lead card content inside its clipped paper surface.
Additional regression coverage now exercises 1025px and 1280px at 200% text, visible header-control separation, Notes lead-card clipping, and the 768px Work caption/copy geometry.
Final local verification on head
bf29e6f:npm run validateFinal independent review corrections
Independent review of the follow-up found three issues before merge:
Commit
0770a22corrects the geometry assertions, hides the optional descriptor only across the desktop transition band, restores normal balanced wrapping globally, and limits emergency wrapping to the constrained Work and Principles headings that require it. It also adds a rendered character-line regression check against normal mid-word heading breaks.The corrected head again passes the full validation, canonical smoke suite, normal/reduced 88-page matrices, fallback-font audit, open-state audit, and direct visual checks of every reported screenshot.
Final review disposition
Independent code re-review passed commit
0770a22with no findings.The final visual reviewer reported a blank Chamblee booklet image in two reduced-motion audit screenshots. Live probing showed the production image had a valid
currentSrc,complete=true, and nonzero natural dimensions at both 320px and 1024px before scrolling. The temporary full-page audit harness was capturing before the async-decoding image painted. After making the harness awaitHTMLImageElement.decode(), the complete 88-page reduced-motion matrix remained geometrically clean and both regenerated screenshots visibly contained the booklet artwork. No production-code change was required.As long as the CI/CD passes this is great