Repository navigation
0.18.0
A page's frame gets tokens, a project gets a place to record where its layout
switches, and keyboard access a rule requires fits every script budget. All of
it found building jig-site's header and Reference with the full loop.
Added
- Keyboard access a rule requires does not count against a script budget.
P-14requiresEscapeto close an open menu, andeditorial's budget was
0 KB, with<details>as the menu, which cannot do it. No editorial page
could satisfy both, and a real site's home and not-found pages kept a menu a
keyboard could not dismiss.M-01now allows, in every mode, a few lines
under 1 KB whose only job is keyboard behaviour a rule asks for and the
browser does not give, with the rule named in a comment.P-14carries the
six lines forEscape. - Layout sizes:
--size-container,--size-rail,--size-header. Every
mode now sizes a page's frame, not only what is inside it. Building one site
with the full loop, four gaps turned out to be one: no token for a page's
maximum width, a rail's width, or a fixed header's height. The site made up
its own, one of them a raw pixel value. The container is 1280px in every
mode, because it is not density. A rail is 288, 256 or 240px, sized to hold
labels at the mode's type size. The header is--size-touch-targetplus
--border-width-hairline. See T-04. - Where a layout switches is measured and recorded. Jig still defines no
breakpoint, and the four judged widths are checkpoints, not places the CSS
changes. T-04 now says how a project records a width it measured:
--breakpoint-<what switches>in its own layer, with the measurement
beside it. jig probe --runmeasures either side of every declared switch. A switch
falls between the judged widths by design, and a range nobody measured is
where a layout breaks: a real site's three-column frame appeared at 1216px,
and 1024 to 1215 still got the phone arrangement. The probe now also records
one pixel before and at each--breakpoint-*the project declares, and the
gate's refresh keeps those probes current too.