Where drift shows before it ships. Every control has a mechanical twin in the e2e suite.
Resolution
What this browser and display actually resolve. Drag the window to another monitor and watch the gamut row follow.
display gamut
oklch
@property
color-mix
container queries
text-box-trim
appearance
contrast
tier
width
The same color, authored (oklch) and gamut-mapped (hex). Identical on an sRGB display — the left one is more saturated on P3.
Text box
Every component on the text-box engine, measured twice: on the left as this browser trims it, on the right with the fallback forced, so both branches can be compared in one browser. Each section ends with its readout — the height the cell gets and where the last baseline sits in it, native / fallback; Δ is the drift between the two.
Native — text-box-trim
The browser trims the text's own box to the text: from the top of the capitals on the first line to the baseline of the last. No space above the first word, none below the last — the line height lives only between the lines.
Fallback — negative margins
For a browser without text-box-trim: the same cut, made from the typeface's own metrics. Half the leading is pulled in above and below, then the gap above the capitals at the top and the descent at the bottom; the voice's baseline offset nudges both. The box stays whole, the margins pull the cell in.
Deletable by design: the fallback is generated, so when text-box-trim reaches the browser floor it leaves in one edit — its two blocks in engine/text-box.js, the forced twin with them — and the native rule keeps working as written.
Text
One line in body sm
One line in body sm
One line in body md
One line in body md
One line in body lg
One line in body lg
Wrapped body md, so the leading between the lines shows
Wrapped body md, so the leading between the lines shows
Every door stacked as a page would stack them — eyebrow, heading, two paragraphs, an inset with its own label, a button, the small print. The guides run from every native text box across both cards.
For your team
Your trial ends on Friday
Your project is ready to go live, and the plan you are on keeps it running until the end of the week.
Here is a code for the first month of the next plan. It works on every plan above it, in any currency.
Your personal code
TRIAL-20-K7QX takes the first month off any plan above the one you have. It works once.
The code is personal to this account, works once, and cannot be combined with another offer.
For your team
Your trial ends on Friday
Your project is ready to go live, and the plan you are on keeps it running until the end of the week.
Here is a code for the first month of the next plan. It works on every plan above it, in any currency.
Your personal code
TRIAL-20-K7QX takes the first month off any plan above the one you have. It works once.
The code is personal to this account, works once, and cannot be combined with another offer.
Themes
A Theme steps into one of the project's themes. Every theme renders the same set — drift in any theme shows here first.
A card's shadow mixes two tones: the ground's ink, which the Theme a card lies on publishes, and a glow of the card's own surface, through the valves of its theme. Each row is a ground; each card in it is in a theme (data-theme on the card). The readout gives both tones as this browser resolves them — switch the appearance to read the other modes. Where relative colour is missing, the glow is absent and the ground's ink stands alone.
The valves
Ground ink (soft layer at 0.5 × alpha) · glow
Knob
light
dark
light-contrast
dark-contrast
ink lightness
0.35
0.25
0
0
ink chroma
1
0.5
0
0
ink alpha
0.14
0.45
0
0
glow lightness
1
1
0
0
glow chroma
1
0.5
0
0
glow alpha
0.35
0.25
0
0
Per-theme overrides: none — every theme takes the recipe.