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
offsetLeft 和 offsetTop那里说了父元素的parent的border不算在内, 但是我自己试出来改变父元素的border是会影响到offsetLeft 和 offsetTop的.
MDN里的定义是"元素自己 border 左边距离父元素 border 左边或者 body 元素 border 左边的距离", 所以应该是"元素自身的 border 不算在内" ?
The text was updated successfully, but these errors were encountered:
再补充一个 04-39-event举例1 scroll封装函数的属性名写成了"left" "right", 应该是"top" "left"
Sorry, something went wrong.
再补充一个 06-07-Promise的静态方法- Promise.all()部分写了结论"可以看到,当 promise2 执行失败之后,马上就走到了 catch,而且 promise3 里的 resolve 并没有执行。", 但如果最后加一行 setTimeout(()=>{console.log(promise3)}, 5000); 可以发现promise3的状态时fulfilled, 说明它resolve还是执行了.
setTimeout(()=>{console.log(promise3)}, 5000);
No branches or pull requests
offsetLeft 和 offsetTop那里说了父元素的parent的border不算在内, 但是我自己试出来改变父元素的border是会影响到offsetLeft 和 offsetTop的.
MDN里的定义是"元素自己 border 左边距离父元素 border 左边或者 body 元素 border 左边的距离", 所以应该是"元素自身的 border 不算在内" ?
The text was updated successfully, but these errors were encountered: