[LayoutNG] Make all CharacterIteratorTest pass with LayoutNG

CharacterIteratorTest.GetPositionWithEmitChar16Before used to fail with
LayoutNG enabled, because it's actually a buggy case in legacy layout
where TextIterator emits an extra character.

This patch makes the test case skip the extra character when LayoutNG
is enabled, and hence allows it to pass.

Bug: 810579
Change-Id: Ie111735af3c94fe7b47eed7a993d1d374612caa6
Reviewed-on: https://chromium-review.googlesource.com/c/1340862
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609478}
1 file changed