ep/May13-2026/CutoutSpacer #4

Merged
dunemask merged 2 commits from ep/May13-2026/CutoutSpacer into main 2026-05-13 23:06:53 +00:00
Owner
No description provided.
Sets `--lion-turtle-cutout-spacer` on the iframe documentElement to the
preset's hardware cutout reserve (computed from `preset.camera`). Child
apps consume the var the same way they'd consume `env(safe-area-inset-top)`
on a real device — their own outer wrapper paints the cutout zone and pads
content below the camera silhouette. No child cooperation beyond reading
the var.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Document the `--lion-turtle-cutout-spacer` injection contract added in
the prior commit. Spec the per-camera-kind formula, the `env()` fallback
on real device, and note that parent-side clipping is intentionally NOT
provided — child apps paint the cutout zone with their own bg and clip
their scroll region via the var.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dunemask referenced this pull request from a commit 2026-05-13 23:06:53 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dunemask/lion-turtle!4
No description provided.