Does position: absolute of the child element affect the parent?
The element with position: absolute breaks out from the document flow. It's why the parent doesn't know this child. So the computed height value is 0.
P.S. All free subscription will expire on October 5st. Please, consider upgrading to a paid subscription, if you wanna continue reading
If you have any problems, please contact me melnik909@ya.ru