DescriptionTruncate RenderText widths before comparing against bounds.
Make RenderText truncate floating-point widths before
comparing them against integer display bounds when
determining whether text should be elided.
RenderTextHarfBuzz returns fractional widths when subpixel
positioning is enabled. When rendering omnibox results,
these widths typically exceed the integer bounds, resulting
in text getting inappropriately elided.
BUG=402347
Committed: https://crrev.com/ec562a798a1835e0383e83bae7dc71dffcfc5fb0
Cr-Commit-Position: refs/heads/master@{#298626}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|