[FragmentItem] Fix scroll overflow when inline box hangs
This patch applies hanging trailing spaces logic to inline boxes. When `white-space: pre-wrap`, trailing spaces can hang. They should not affect scroll (layout) overflow though. This was fixed for LayoutNG in crbug.com/966773. When the fix was ported to FragmentItem, it was applied only to text runs. It should be applied to inline boxes too, because inline boxes that contain hanging trailing spaces can also hang. Bug: 1130310 Change-Id: Ie03e178eb26b2c7270f536974cd617feb38c9169 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2425553Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#809838}
Showing
Please register or sign in to comment