DescriptionAdd tab support to RenderBlockLineLayout::stripTrailingSpace
Change RenderBlockLineLayout::stripTrailingSpace to measure the width of
the first trailing white-space character instead of always assuming it's
a space character. This fixes a bug where we wrap text unnecessarily for
elements with a trailing tab character as we correctly measure the right
character (tab) when computing the preferred with but subtract the width
of a space character in stripTrailingSpace.
R=pdr@chromium.org
BUG=444544
TEST=fast/text/trailing_whitespace_wrapping.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187878
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|