Fix bounding box propagation for <foreignObject>
Since the oBB is in unzoomed space but the <foreignObject> local-to-parent transform performs adjustment for zoom we need to perform correction when propagating it. Similarly change LayoutSVGForeignObject::StrokeBoundingBox() to return the same bounds as VisualRectInLocalSVGCoordinates() (which is zoomed). Bug: 1162993 Change-Id: I430cd7832b37475ef1d139997ef5ac5c0bcc17c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627491Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#844016}
Showing
Please register or sign in to comment