Skip to content

Keep the T's curl while the name fades in (Safari) - #343

Merged
rememberYou merged 1 commit into
developfrom
fix/name-swash-clip
Oct 30, 2026
Merged

rememberYou merged 1 commit into
developfrom
fix/name-swash-clip

Conversation

@rememberYou

Copy link
Copy Markdown
Owner

Cinzel Decorative's T curls 0.09em (7px at 80px) left of its box; no other letter does. While the name fades in, Safari draws it on a layer cropped to the heading's box, so on desktop, where the name is left-aligned, the T showed without its curl until the animation ended. Phones were not affected: the name is centred there, the curl inside the box.

The box now reaches over the curl (padding-left: 0.1em) and a matching negative margin keeps the text exactly where it was. Same for the name in the navigation.

Reproduced on real page loads in WebKit: before, the T loses its curl for the first ~500 ms; after, the curl is there from the first frame. Chromium was never affected. 20 tests pass, Lighthouse included.

Cinzel Decorative's T curls 0.09em left of its box. While the name fades
in, Safari draws it on a layer cropped to the heading's box, so the T
showed without its curl until the animation ended. The box now reaches
over the curl (padding), and a matching negative margin keeps the text
in place. Same for the name in the navigation.
@rememberYou rememberYou reopened this Oct 30, 2026
@rememberYou
rememberYou merged commit 7a34c92 into develop Oct 30, 2026
1 check passed
@rememberYou
rememberYou deleted the fix/name-swash-clip branch October 30, 2026 20:09
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