If you have Auto-jump on and you go underwater it can still trigger, making it so these situations where you jump less than one block are still possible. Auto jump triggering this way makes it so you don't go over the block and start doing that small jump over and over again, works both when fully submerged and with only one block of water at your feet as shown in the video.
This ticket actually appears to be a duplicate of MC-102708.