Fix hit testing culled inline when text is fragmented
This patch fixes hit testing culled inline when a text node (or LayoutText) is fragmented. This can happen for trailing spaces, `::first-letter`, and a few other cases. |HitTestCulledInlineAncestors| checks if the current fragment is the first one in the line, but only by checking |LayoutObject|, so it fails when a |LayoutObject| is fragmented. This patch adds check if the current fragment is from the same |LayoutObject| as the previous sibling. Bug: 1009042 Change-Id: Id9cd8b834528bda999fb557e0a6f0d2aeec69e4e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2262401Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#781846}
Showing
Please register or sign in to comment