Skip to content

docs: record the measured mobile-width divergence and the refuted text hypothesis - #36

Merged
owjs3901 merged 1 commit into
mainfrom
integration/mobile-width-finding
Sep 12, 2026
Merged

docs: record the measured mobile-width divergence and the refuted text hypothesis#36
owjs3901 merged 1 commit into
mainfrom
integration/mobile-width-finding

Conversation

@owjs3901

Copy link
Copy Markdown
Contributor

Why

Three harness repairs (#34, #35) were needed before \harness/render\ could run at all. The finding they bought is worth more than the repairs, and it currently exists only in a chat transcript.

The measurement

\landing, acquired fresh and compared against Figma's own PNG, on \main\ at \2df7fb4\ with a binary containing the W8 JSX text fix:

screen width measured committed threshold
\landing-833-3640\ 360 11.41% 11.41
\landing-833-3322\ 992 3.11% 3.1
\landing-832-2975\ 1920 1.84% 1.84

It refutes the hypothesis that motivated the repairs

The supposition was that the mobile gap was largely the JSX whitespace defect W8 fixed, since a narrow width wraps more and the three texts \ ext-check.mjs\ flagged were one paragraph at three widths.

Unchanged to two decimal places. W8 fixed a real defect; it is not this one.

What it actually is

\drift.mjs\ aligns each band independently. The offset that minimises the difference grows monotonically down the page - 0 → 2 → 5 → 6 → 8 - and y 900-1000 goes from 23.5% in place to 14.2% shifted five pixels. The frame total is correct (both 360x2955), so the sum is right while the internal distribution is not.

That is a small height deficit accumulating from the top, not a set of individually wrong elements. \�ands.mjs\ puts the worst bands ~700px apart, which reads as one error recurring at a repeating section boundary.

Vertical sizing or spacing, not text. Which property accumulates the ~8px - padding, gap, line-height, or FILL/HUG distribution - is open, and \�oxes.mjs\ is the cheapest way to name it. The doc says so rather than guessing.

Docs only; no \crates/\ change, so no changepack applies.

@owjs3901
owjs3901 merged commit 9f287d3 into main Sep 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant