2016-07-21 浏览器工作原理 整理和收集一下浏览器渲染原理。 解析和展示html流程 首先下载html文件 解析html,构建dom树 和css结合生成渲染树 绘制并展示页面 图示: 图片来源:http://www.html5rocks.com/zh/tutorials/internals/howbrowserswork/ CSSOM和DOM组合 -> render tree (渲染树)图片来源:https://developers.google.com/web/fundamentals/performance/critical-rendering-path/render-tree-construction 相关文章: 浏览器工作原理 How browsers work EfficientlyRendering CSS Render-tree construction, layout, and paint CSS Selector Performance has changed! (For the better) CSS PERFORMANCE Style System Overview Newer event那些事 Older React-Todo示例