[LayoutNG] Stop ellipsizing inline boxes
Ellipsis fragments have associated LayoutObject indicating the object it truncated. This is normally LayoutText or atomic inline, but sometimes it can be LayoutInline. This is very rare while it requiers special casing in several places. Running tests hit some DCHECK failures in paint and hit-testing. This patch stops generating such fragments, so that ellipsis fragments always have text or atomic inlines. DCHECK in NGLineTruncator is changed to check the condition accordingly. Bug: 988541 Change-Id: I4787091512cb8b330824952e97fa9481cf7905fe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1725629Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#682347}
Showing
Please register or sign in to comment