Add box model edge functions. Get parent element dimensions as well.