Consider the RunPartInfo offset when evaluating safe to break points
The RunPartInfo may have an offset, if the NGInlineItem has been created from a different segment. This value is stored in the part's offset_ attribute. We use the offset_ to calculate the ShapeResultView character position, but it seems we were not considering when evaluating safe to break points in the part. Bug: 1160214, 1163545 Change-Id: I40ece9ac6f0bd07e602d9693efc63a08ca959e8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625873Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Javier Fernandez <jfernandez@igalia.com> Cr-Commit-Position: refs/heads/master@{#844384}
Showing
Please register or sign in to comment