We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
龟速积累中...😳
elem.getBoundingClientRect.top - (offsetParent.getBoundingClientRect.top + offsetParent.style.borderTopWidth) - elem.style.marginTop
elem.getBoundingClientRect.top - (offsetParent.getBoundingClientRect.top + offsetParent.style.borderTopWidth)
if [ -f /etc/profile ]; then PATH="" source /etc/profile fi
export NVM_DIR="$HOME/.nvm" "/usr/local/opt/nvm/nvm.sh"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
龟速积累中...😳
FE
elem.getBoundingClientRect.top - (offsetParent.getBoundingClientRect.top + offsetParent.style.borderTopWidth) - elem.style.marginTop
,这个处理方法和cssom的草案的offsettop略有不同,规范中的说明是:取目标元素的top border edge的Y轴坐标值减去相对父级的top padding edge的Y轴坐标值,所以实际上应该elem.getBoundingClientRect.top - (offsetParent.getBoundingClientRect.top + offsetParent.style.borderTopWidth)
更准确些工具使用
The text was updated successfully, but these errors were encountered: