[WIP] popup: add specs for calcPossibleDrawingParams

Fixes #1006
For me, it's better to check each property separately, because this approach provides more readable message for each property.