problem description
when the image is loaded lazily and the encapsulation method obtains the offset-related value of the element, offsetParent always explains for null,mdn that if the dispaly of the element is none or the offsetPsrent obtained when the element is body, it will be null, but does not belong to both cases. What is the problem?