Implement SVG's transform and effect paint property nodes
This patch starts generating transform and effect paint property nodes for SVG. PaintPropertyTreeBuilder has been changed to walk both LayoutBoxModelObjects and SVG nodes. The effect node generation is straightforward, but SVG transform nodes need some svg-specific logic: 1) SVG does not use paint offset because everything is effectively absolutely positioned. The SVG root element now always creates a paint offset transform so all children do not need to. 2) SVG bakes the transform origin into all matrices. We may want to refactor this later to support compositor animations. 3) At the SVG->HTML boundary, out-of-flow and fixed positioning data is kept up to date by checking for both xforms and isSVGRoot. BUG=537409 Review URL: https://codereview.chromium.org/1461223002 Cr-Commit-Position: refs/heads/master@{#361183}
Showing
This diff is collapsed.
Please register or sign in to comment