- Host-owned controls refuse font tokens naming the compiler's scoped skin
font prefix (ws-), so a skin @font-face gated behind a non-matching @media
(absent from document.fonts) cannot blank labels after a resize; the theme
binding also re-reads tokens on viewport resize for @media-scoped tokens.
- A token palette is accepted only if black or white text reaches 4.5:1 on its
accent; mid-tone accents (~4.23:1) now fall back as a group.
- Protected app-DOM controls reject var()/attr() for filter, clip and
content-visibility, which could smuggle opacity(0)/rect(0,0,0,0)/hidden past
the literal hide checks; literal filters and other parts are unchanged.
- Docs and tests updated (unit + headless-Chrome fixture).
- bindHostControlTheme re-applies when <head> stylesheets or root attributes
change, so a stored skin id themes the floating recovery capsule, skin-load
banner and authorization dialog once its CSS actually arrives; the recovery
root pass stands down while a slot binding owns the capsule tokens.
- The shadow-root probe converts oklch()/color-mix() results to sRGB via a
1x1 canvas instead of silently dropping them to the default palette.
- Host-owned controls ignore font tokens naming a document @font-face, which
could ship blank glyphs and erase the recovery/consent labels.
- Authorization body text uses the full sanitized foreground (the 76% mix
could fall under the 4.5 contrast floor); theme refreshes before showModal.
- Browser fixture covers late CSS, oklch and font refusal; docs updated.
App-DOM protected parts keep only hide/off-screen/disable guards; host-owned recovery capsule, skin-load banner and authorization dialog read one sanitized --skin-host-* token set with per-part overrides (--skin-recovery-*, --skin-load-recovery-*, --skin-permission-*) via the new host-control-tokens module.
- Fall back to the default corner when the docked capsule's footprint
(largest observed size) overlaps a visible protected control; runtime
check only, no new chrome.json or skin.css restriction.
- Demo skin docks at align:start, away from the audio dock buttons.
- Compact mode: tap/click pins it open (touch), shortcut expansion clears
when focus leaves; the 5 s full-display hold starts on first dock.
- Built-in button border uses the skin accent only when visible on #fff7ed.
- probeColor no longer misreads a token equal to its sentinel.
- Periodic re-check survives an exception and fails safe to floating.
- Browser fixture exercises bindHostSlot: dock, fallback, anti-flap,
protected cover, offscreen, unreadable tokens, dispose.
- chrome.json#slots names an existing skin data-ws-part as anchor for host.recovery
(align start/center/end, optional compact); host/trusted parts rejected as anchors
- reusable host-slot-placement module: positions the closed-shadow top-layer
capsule over the anchor, re-checks visibility/size/on-screen/elementFromPoint,
snaps back to the default corner on any failure with anti-flap re-slotting
- --skin-recovery-* tokens (accent/background/foreground/radius/font/size tier)
sanitized with 28px minimum hit target and WCAG contrast fallback
- compact mode only after 5s full display post-activation; shortcut always full
- no new skin CSS compile-time restrictions; docs and host-chrome-demo updated
Hold @keyframes to the same hide/yeet checks as regular declarations,
including escaped and namespaced animation names. Loosen decorative
host-chrome layout locks so open skins can restyle layout freely.
Listen for the recovery shortcut in the capture phase, move the
load-failure banner into the host-owned layer, and fix recovery
aria-labels.
Allow skins to theme host chrome through a second scope and explicit
visibleParts. Official and built-in skins stay decoration-free by
default.
Harden the CSS compiler so skins cannot hide the document root, push
protected controls off-screen, or target the host layer with sibling
selectors. Move recovery and authorization UI into a closed Shadow DOM
on the top layer, so a third-party skin cannot block the built-in
skin reset.