From 493be9eeefdbdc40e8acb4df04df364f877fb3ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Fri, 25 Sep 2026 10:28:36 +0200 Subject: [PATCH] docs(ios): state the fold's clipped-carrier hittability as false, not nil --- .../SnapshotVisibilityFold.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apple/snapshot-presentation/Sources/AgentDeviceSnapshotPresentation/SnapshotVisibilityFold.swift b/apple/snapshot-presentation/Sources/AgentDeviceSnapshotPresentation/SnapshotVisibilityFold.swift index 0a3503f770..718ddcda35 100644 --- a/apple/snapshot-presentation/Sources/AgentDeviceSnapshotPresentation/SnapshotVisibilityFold.swift +++ b/apple/snapshot-presentation/Sources/AgentDeviceSnapshotPresentation/SnapshotVisibilityFold.swift @@ -242,10 +242,10 @@ public enum SnapshotVisibilityFold { } /// The fold's share of the `hittable` policy (#2891). A declared `false` is kept; anything the - /// source left undecided is re-decided on the clipped frame, which refuses a disabled or - /// degenerate node with no viewport to consult and answers `nil` only while containment is the - /// open question. A `visibilityExempt` carrier clipped to nothing by a scroll anchor is that - /// `nil` today, and its own frame already answers the question. + /// source left undecided is re-decided on the clipped frame: a disabled or degenerate frame — + /// including a `visibilityExempt` carrier a scroll anchor clipped to nothing — answers `false`, + /// and `nil` stays reserved for the one question the clipped frame cannot answer, containment + /// while the capture has no viewport box. private static func clippedHittability( source: Bool?, enabled: Bool,