Unify HTML and SVG coordinates of LayoutSVGText

LayoutSVGText inherits from LayoutBlockFlow. During layout, at first
SVG text fragments are laid out in physical coordinates in local SVG
coordinates of LayoutSVGText, then the underlying LayoutBlockFlow and
inline boxes are laid out in the coordinate space of the bounding box
of the text fragments.

The difference between HTML and SVG coordinates of LayoutSVGText causes
some compexities, such as inconsistent coordinate space of SVG inline
box calculateBoundaries(), complicated paint offset situations for
outline and text when building paint property tree and painting (about
text fragments painted in coordinates with paint offset baked in while
outline painted with explicit paint offset), etc. Unifying the two
coordinates can avoid the complexities.

BUG=666416
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Review-Url: https://codereview.chromium.org/2531943002
Cr-Commit-Position: refs/heads/master@{#434885}
8 files changed