The rules of trimming one video, whatever draws the handles: they land on frame starts, the range never leaves the video, and it always holds at least one frame, so the start cannot pass the end.
The whole video, where a new clip's handles start.
How many frames range holds at the video's frame rate.
When the last frame of range starts: the range's end is exclusive, so not at the end itself.
The frame start nearest ms, inside the video.
range with its end moved as near ms as these rules allow.
range with its start moved as near ms as these rules allow.