Files
doona/e2e
Zakk 2ffcf525b2 fix(ui): cut Glass chrome sheet with a mask instead of a clip
The Glass chrome is one fixed, blurred layer over the whole viewport, with
a concave clip-path polygon cutting the content box out of it. When an
ancestor clips with rounded corners, Chrome (154, and Edge with it) stops
applying that concave clip to the backdrop blur. luci-app-honk embeds doona
in an iframe with border-radius: 4px, so the sheet covered the whole content
area there: only the blurred wallpaper showed, while hit testing still found
the page under the pointer-events: none layer. A rectangular or rounded-inset
clip, or no radius on the iframe, renders correctly.

The sheet is now cut with mask layers built from the shell's own sizes: the
top bar, the sidebar width, the content's end margin, the centred maximum
width and the content's corner radius. Narrow screens and right-to-left
reuse the same mask with different side widths. The top-level rendering is
unchanged outside the live data, at 800, 1440 and 1920px and in RTL.

The new e2e test loads doona in a rounded iframe and checks the page title's
pixels are dark ink; it fails on the old clip-path (darkest 149) and passes now.
2026-10-04 23:05:36 +11:00
..