Removes any dependency on inlineTextBoxes state.
Previously, we tracked inlineTextBox nodes using their index in the staticText parent. However, if the container holding the text was resized, the staticText parent indices change as the flow of boxes within them changes. This change removes all dependency on the index of the inlineTextBox within the staticText node, and instead relies purely on character indices to determine nodes to highlight. Bug: 800912 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I0c0ecb2f78912b376040cc029f77a32fec6f5c85 Reviewed-on: https://chromium-review.googlesource.com/898206 Commit-Queue: Katie Dektar <katie@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#534194}
Showing
This diff is collapsed.
Please register or sign in to comment