DescriptionChange linesBoundingBox to return LayoutRect
Change the LayoutInline::linesBoundingBox method, and subclass overrides
in LayoutText and LayoutSVGInlineText, to return a LayoutRect instead of
an IntRect. Thereby exposing more correct and consistent offsetWidth and
offsetHeight values through the DOM. Move enclosing int logic to callers
as needed, particularly for PaintLayer, editing, and spatial navigation.
TEST=fast/sub-pixel/width-of-inline-in-float.html
BUG=414264
R=drott@chromium.org
Committed: https://crrev.com/bc1c2103ef7da6c61df91d2ee7dc1b00098a2b57
Cr-Commit-Position: refs/heads/master@{#390316}
Patch Set 1 : #Patch Set 2 : #Patch Set 3 : #Messages
Total messages: 16 (10 generated)
|