Playing survival and I noticed that when I place a block (any block that isn't any more than 1 standard block height) next to a bed, and I stand on the block but also half onto the bed. now if you jump in that position, you still have the little bounces after that. This should work with all facing directions and I would assume (not tested) with mobs.
Related issues
Comments

Might be linked to MC-1133 somehow