Avoid having LayoutText for Text::splitText()
This patch changes |Text:splitText()| to avoid having empty |LayoutText| as other text modifying functions, e.g. deleteData(), replaceData() to reduce changes that AX tree having AX objects with empty |LayoutText|. Note: The root cause of issue 1149171 is |Range#insertNodes()| calling |Text#splitText()| with offset 0. Bug: 1149171 Change-Id: Ibfecb14111ff16f3901fe23cdba6d3fcae1ddda1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2623371 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Kent Tamura <tkent@chromium.org> Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#842890}
Showing
Please register or sign in to comment