DescriptionUnify 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
Committed: https://crrev.com/b4ece262ce1150e23a18ad661aa5e1b213f95f51
Cr-Commit-Position: refs/heads/master@{#434885}
Patch Set 1 #Patch Set 2 : - #Patch Set 3 : - #
Total comments: 1
Patch Set 4 : Rebaseline for spv2 (anti-alias differences about caret) #Patch Set 5 : Adjust CL dependency #Patch Set 6 : - #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 37 (28 generated)
|