Wheel, then scroll
Selects a frame
The wheel marks a gesture; the scroll that follows within one second carries it. If the artwork is on screen and motion is allowed, the renderer asks for the one frame that matches the new position.
Shipped input routing on the homepage, pinned by a test that replays wheel, scroll and key events.
Touch drag
Selects a frame
On a phone the drag is the gesture. The same one-second window applies, and the phone rendition is the one requested.
Touch movement is one of the four gesture sources the input routing listens for.
Scrolling key
Selects a frame
Arrow Up, Arrow Down, Page Up, Page Down, Home, End and Space are gestures. Keyboard scrolling is eligible on exactly the same terms as a wheel. Other keys are not gestures for this purpose.
The test presses Page Down and confirms the following scroll counts.
Pointer press, then scroll
Selects a frame
Dragging a scrollbar begins with a pointer press. The scroll that follows within a second counts as the visitor's.
A pointer press records a gesture; it does not, by itself, move anything.
A click, no scroll
Selects nothing
A press without a scroll leaves the image where it is. The renderer is consulted only when the page actually scrolls.
Test assertion: a click alone cannot select cinematic frames.
A gesture over a second old
Selects nothing
A gesture is a permission with a one-second shelf life. After that, a scroll with no fresh input in front of it leaves the image still.
Test assertion: an old gesture cannot authorize later scrolling.
Resize or rotation
Selects nothing
Resizing clears any recent gesture; it recalculates layout and nothing more. If the new size crosses the line between the phone and desktop renditions, every decoded frame is released and the other rendition waits for a fresh gesture.
Tests: layout refresh cannot inherit click intent; a breakpoint resize releases old frames and cannot load the new rendition without intent.
A restored scroll position
Selects nothing
Returning to the page at a remembered position is not a gesture. With no input in the previous second, the image stays still wherever the page lands.
The input routing keeps intent separate from layout refreshes and restored scroll positions.
Gesture with the art off screen
Selects nothing
Intent observed while the artwork is out of view is discarded. It cannot arm a later sample once the art scrolls back into view; that needs a new gesture.
Test assertion: offscreen intent cannot arm a future visible sample.