Skip to content

Commit 8ff568a

Browse files
committed
docs(snapshot): limit the --raw viewport absence to Apple targets (#3182)
Android publishes its viewport under --raw too: the display the helper reads is the same screen the raw rects are measured on. Only the Apple projection validates no box, so only there does --raw omit viewport.
1 parent 6362634 commit 8ff568a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎website/docs/docs/commands.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,10 @@ agent-device get attrs @e1
417417
producer's answer: the app window on iOS (so iPad Split View and a foldable panel do not inflate
418418
it), the measured screen on Android and Apple TV. It is absent when the producer measured no box —
419419
a macOS capture whose rects are absolute in window space, a web or Linux capture that reads a tree
420-
without reading a screen, or `--raw`, which validates no box — and never reported as a zero. It is
421-
the full size only; content-safe gesture bounds are separate.
420+
without reading a screen, or `--raw` on an Apple target, whose projection validates no box. (An
421+
Android capture publishes its viewport under `--raw` too: the display it reads is the same screen
422+
the raw rects are measured on.) It is never reported as a zero, and it is the full size only;
423+
content-safe gesture bounds are separate.
422424
- `--scope <text|@ref>` returns the subtree of the first node in document order whose label, value,
423425
or identifier contains the scope text (case-insensitive) and whose subtree still has content in
424426
the requested projection, re-rooted at depth 0; no match returns an empty snapshot rather than the

0 commit comments

Comments
 (0)