Fix bounding box calculation for <tspan> (and other LayoutSVGInlines)
Make the various bounding box calculations for LayoutSVGInline return values derived from the associated flow boxes rather than delegating to the ancestor LayoutSVGText. Refactor and reuse the code from the similar functionality LayoutSVGText. Since the reference box for these element should still remain the same as the reference box for the ancestor <text> add a new helper to compute (delegate) that and use that when resolving clips/filter/et.c. Bug: 951706, 349835, 267481 Change-Id: Idf4a4c586ef9902cac2e795e9fbda0009b2ea0ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2088094 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Stephen Chenney <schenney@chromium.org> Reviewed-by:
Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#748175}
Showing
Please register or sign in to comment