Chromium Code Reviews
DescriptionFix RenderViewImplTest.GetCompositionCharacterBoundsTest
This test expects OnImeSetComposition() returns width=0 for between
surrogate pairs. In Blink, this calls:
Editor::firstRectForRange(const EphemeralRange& range)
which generates the character bounds from the caret position of
downstream and upstream.
In this specific case, when the test run with fonts that has more code
point coverage, the line wraps, and Editor adds |extraWidthToEndOfLine|
which confuses the test.
This patch fixes the test by not to wrap the line,
BUG=508747
Committed: https://crrev.com/378d5bc14d6503b04787acfe9df3e18f0acb647b
Cr-Commit-Position: refs/heads/master@{#379086}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|
|||||||||||||||||||