[LayoutNG] Apply segment break transformation rules before reusing inline items
When a text node starts with a space run that contains newlines, it's possible that the text node's inline items can't be reused in relayout due to segment break transformation rules. This patch applies the rules to check if the newline is handled differently in relayout, and if so, stops reusing the old inline items. Bug: 969089 Change-Id: I163b2542154ea79971fb13922489441873c1712b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1641989Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#665689}
Showing
Please register or sign in to comment