Computes the correct ancestor position when a leaf position is within an embedded object
On platforms that support embedded object characters, such as IA2 and ATK, we were not computing the correct ancestor position when trying to compare two leaf text positions. If the leaf text position is within an embedded object, we need to adjust the ancestor position to point to after the embedded object character, if the leaf position is not at the start of the embedded object. This is per the IA2 Spec. Test steps are in the attached bug. R=dmazzoni@chromium.org, kbabbitt@microsoft.com Bug: 1057831 Change-Id: Iabc44586ae35c4bb927655707366bf3b81b79fc9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2081527 Commit-Queue: Nektarios Paisios <nektar@chromium.org> Reviewed-by:Aaron Leventhal <aleventhal@chromium.org> Reviewed-by:
Kevin Babbitt <kbabbitt@microsoft.com> Auto-Submit: Nektarios Paisios <nektar@chromium.org> Cr-Commit-Position: refs/heads/master@{#748023}
Showing
Please register or sign in to comment