CSS engine: Quantum CSS (aka Stylo)

run it all in parallel
  • uses a technique called work stealing
Speed up restyles with the Rule Tree
Speed up initial render (and the cascade) with the style sharing cache

解析得到 DOM tree 和 style 后,通过 CSS engine 最终得到每个 node 计算后的样式值