DescriptionImplement mapAncestorToLocal for LayoutSVG{ModelObject,Block}
This CL adds an implementation of mapAncestorToLocal for SVG
LayoutObject types via a helper in SVGLayoutSupport.
This should help cases which use any of the LayoutObject::ancestorTo*
methods (or similar/wrappers.) Examples of users are various form
controls and scrollbars.
BUG=568614
Committed: https://crrev.com/a663c6ee1aef79f2de75c7620b72cea48630b9ca
Cr-Commit-Position: refs/heads/master@{#378716}
Patch Set 1 #Patch Set 2 : Avoid potential margin collapsing(?) bug #
Total comments: 2
Patch Set 3 : Add ASSERT for expected types #
Messages
Total messages: 10 (3 generated)
|