[WIP] popup: add specs for calcPossibleDrawingParams

Fixes #1006
Sure. We need here to check different offsets, right?