Render tree construction 渲染树的构造 ; 渲染树构建
Depending on the nature of the change, a smaller or bigger part of the render tree needs to be recalculated.
根据改变的性质,渲染树上或大或小的一部分需要重新计算。
Reflows sometimes affect only a small part of the render tree, but they can affect a larger portion, or even the whole tree.
重排版有时只影响渲染树的一小部分,但也可以影响很大的一部分,甚至整个渲染树。
Nodes in the render tree are called frames or boxes in accordance with the CSS model that treats page elements as boxes with padding, margins, borders, and position.
渲染树上的节点称为“框”或者“盒”,符合CSS模型的定义,将页面元素看作一个具有填充、边距、边框和位置的盒。
应用推荐