Skip to content
New issue

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

精读《web reflow》 #420

Closed
ascoders opened this issue May 28, 2022 · 3 comments
Closed

精读《web reflow》 #420

ascoders opened this issue May 28, 2022 · 3 comments

Comments

@ascoders
Copy link
Owner

ascoders commented May 28, 2022

网页重排(回流)是阻碍流畅性的重要原因之一,结合 What forces layout / reflow 这篇文章与引用,整理一下回流的起因与优化思考。


精读《web reflow》

@uinz
Copy link

uinz commented May 28, 2022

如果 dom 结构没改变, reflow 是无成本的。

@ascoders ascoders closed this as completed Jun 4, 2022
@1zumii
Copy link

1zumii commented Jun 12, 2022

网页渲染会经历 DOM -> CSSOM -> Layout(重排 or reflow) -> Paint(重绘) -> Composite(合成),其中 Composite 在 精读《深入了解现代浏览器四》 详细介绍过,是在 GPU 进行光栅化。

Composite 应该是在「精读《深入...三》」里面的内容,而不是第四篇。

@1zumii
Copy link

1zumii commented Mar 30, 2023

@uinz 这个有相关的文章可以参考的么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants