Chromium Code Reviews
DescriptionFix selection rect calculation for inline elements with padding
Account for border and padding for inline elements when computing the
height for an inline box. While not needed for layout it is critical for
computing the selection rect.
Change InlineFlowBox::placeBoxesInBlockDirection to accurately account
for the border and padding logical height when computing the selection
height just as the logical top border and padding is taken into account
for the logical top.
Unfortunately this requires a new field in RootInlineBox as the line
bottom and selection bottom can be different.
R=leviw@chromium.org
BUG=385540
TEST=fast/text/selection-with-inline-padding.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176566
Patch Set 1 #
Total comments: 1
Patch Set 2 : Patch for landing #
Messages
Total messages: 8 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||