1
0
Fork 0
polaris-task-force/tests/audit
Z8MB1E 61535aba58 test(audit): correct mobile viewport emulation and grid heuristic
The harness was measuring against a viewport Chromium had already widened:
with isMobile true it grows the layout viewport to fit overflowing content,
so scrollWidth > innerWidth could never fire and real overflows were masked.
hasTouch alone gives (pointer: coarse) while keeping the 390px viewport
fixed, which is what surfaced the remaining resources overflow.

- grid class: flag only grids that overflow a non-scrolling container;
  drop the narrow-track rule (it flagged intentional icon columns) and
  skip min-w-max boards, which scroll by design
- structures detail now resolves from game-structures (the page's
  collection), so the previous phantom 404 is gone
- refreshed baseline: overflow, grid and hoverOnly all at zero
2026-10-12 20:17:27 -04:00
..
mobile-audit-report.json test(audit): correct mobile viewport emulation and grid heuristic 2026-10-12 20:17:27 -04:00
mobile-audit-report.md test(audit): correct mobile viewport emulation and grid heuristic 2026-10-12 20:17:27 -04:00
mobile-audit.ts test(audit): correct mobile viewport emulation and grid heuristic 2026-10-12 20:17:27 -04:00