使用 "jquery-3.4.1" 版本的 offsetParent 方法的终点是 html
而使用 https://www.w3school.com.cn/jquery/jquery.js” 版本的 offsetParent 方法的终点是 body。这与原生 js 中的 offsetParent 方法的终点相同。
使用 "jquery-3.4.1" 版本的 offsetParent 方法的终点是 html
而使用 https://www.w3school.com.cn/jquery/jquery.js” 版本的 offsetParent 方法的终点是 body。这与原生 js 中的 offsetParent 方法的终点相同。