[LayoutNG] Work around crash with 'text-transform'
'text-transform' may make LayoutText::GetText() longer than the original DOM text node, and result in out-of-range offsets that are not properly handled. This patch works around that in some crash sites so that it stops crashing. Bug: 899868 Change-Id: I55645b83b3d2d0aec38cb2c0f97a2b89a4897d3e Reviewed-on: https://chromium-review.googlesource.com/c/1450745 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#628916}
Showing
Please register or sign in to comment