Caluculation of Left 50% Value for a absolute positioned Child from a Element with a padding Value.

Red Line should be exactely in the Middle ( It seems that the 0,0 Point is set correct, but the padding Value is not accounted )

Controlsituation for 50% Top Value