Description[SVG] Refactor getIntersectionList() and getEnclosureList()
This CL moves most of the implementation out of RenderSVGModelObject and
into SVGSVGElement (which is the only client). Some notes:
* use the consolidated SVGGraphicsElement::computeCTM() (which is
accumulating localCoordinateSpaceTransform()s and not
localToParentTransform()s like the old getElementCTM() did <- root
cause for the zooming bug)
* only force a layout update once, at the entry point, instead of on each
getElementCTM() call.
* detect the stopping element on the fly, instead of an additional upfront
ancestor crawl.
* transforms are now correctly computed relative to the target <svg>
element instead of the nearest viewport.
BUG=155277
R=pdr@chromium.org,schenney@chromium.org,fs@opera.com,rob.buis@samsung.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168479
Patch Set 1 #Patch Set 2 : Build fix. #
Total comments: 9
Patch Set 3 : Updated per comments. #Patch Set 4 : Copyright notice update. #Messages
Total messages: 15 (0 generated)
|