Fix hit-testing culled inline for atomic inlines
This pathc fixes hit-testing [culled inline] in the following conditions: a. The first fragment does not fit, but it is an atomic inline that it cannot be truncated. b. The atomic inline is within a culled inline. The culled inline algorithm relies on fragments from a |LayoutObject| appear in a row. Ellipsis for an atomic inline has the same |LayoutObject| as the atomic inline, but can appear at the top level. This patch fixes this by eliminating ellipsis from culled inline logic. [culled inline]: https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/core/layout/ng/inline/README.md#culled Bug: 1104477 Change-Id: Ib0f7e5899e58c766554c78ddf45019deaf35ca96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2318887 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#791691}
Showing
Please register or sign in to comment