fix(snapshot): stop sibling-sized chrome containers from covering their own region (#2996)
Summary
A chrome container (tabbar/toolbar/navigationbar) published with exactly the frame of the sibling listed beside it reports that sibling's footprint rather than a surface drawn over it, but the occlusion pass read its own box as covering evidence. isFullViewportChromeContainer only exempts a container sized to the viewport root, so a container that stops short of it condemned content on both sides. press/fill refused every element above an iOS 26/27 tab bar while a coordinate press at the same point worked.
isSiblingSizedChromeContainer now refuses such a candidate at the existing classification seam, gated to the viewport-chrome kinds so a dialog/sheet/alert sized to the content around it keeps covering. The controls such a container really draws are its descendants, each rect still judged on its own. Two touched files; no public API change.
Closes #2996.
Validation
Tested at 7945d35f (fed0d73e for the measurement commits; production is identical between them). CI is green on this head: Coverage, Repo Guards, Integration Tests, all four Smoke lanes, Typecheck & Package.
- Live iPhone 18 Pro (iOS 27.0) through the shipped publication path (
buildSnapshotState, what the interaction pipeline reads). A system app's bottom-bar container matching the 812pt content branch beside it marked 36 of that branch's nodes plus the navigation bar beside it; now 0. A JS-tab app's tab-bar badge container matching the platter content view beside it marked all 13 tab-bar nodes; now 2, both genuinely under the tab bar (y=791..827 inside 791..874). Raw captures and the replay command are in the evidence comment below. pnpm check:affected --runat both commits: all runnable checks passed, 431 files / 3,039 tests.pnpm format:check,pnpm lint,pnpm typecheckclean.pnpm mutation:run --modules snapshot-occlusionatfed0d73e: pass, 73.99% (74.13% atb3eceda2).--affectedselects nothing here: this head is a test-only split plus a doc block, andaffectedMatrixForspends mutants only on harness diffs.- Rule is gated to the chrome kinds, so the Android IME path is unchanged; measured on an
android.widget.Toolbaroverlay and an IME root carrying a chrome fragment.
Unresolved risk: the reporter's app was not available (Metro/Expo Go), so their 0,0,402,791 tree is pinned as a synthetic test beside the two captured shapes rather than replayed live.