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
由于页面元素的样式改变而不影响布局时(例如:visibility、color、background-color等),浏览器会将新样式赋给元素并重新绘制它,这个过程称为重绘。
visibility
color
background-color
当Render Tree中的部分或全部的元素节点的尺寸、结构或几何属性发生改变时,浏览器重新渲染部分或全部的文档的过程叫回流。
Render Tree
注意:回流必定会引起重绘,重绘不一定会引发回流。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
重绘 Repaint
由于页面元素的样式改变而不影响布局时(例如:
visibility
、color
、background-color
等),浏览器会将新样式赋给元素并重新绘制它,这个过程称为重绘。重排(回流) Reflow
当
Render Tree
中的部分或全部的元素节点的尺寸、结构或几何属性发生改变时,浏览器重新渲染部分或全部的文档的过程叫回流。会导致重排的操作:
会导致重排的属性和方法:
The text was updated successfully, but these errors were encountered: