Skip to content
Commit dfed6d16 authored by Koji Ishii's avatar Koji Ishii Committed by Commit Bot
Browse files

Fix |LayoutNGBlockFlowMixin::NodeAtPoint()| for block fragmentation

This patch fixes |NodeAtPoint()| so that:
* The |LayoutObject| function does not support block
  fragmented objects.
* Make sure we traverse fragment tree, without going through
  |LayoutObject|, whenever it may have fragmented children.

The current code calls |LayoutBlock::HitTestChildren()| when
|!ChildrenInline()|. It is fixed to traverse fragment tree to
achieve the second point above.

The same philosophy as |Paint| in r824316 <crrev.com/c/2515429>.

Bug: 1061423
Change-Id: Ie153bfab663e9d7353378355b0734e725ed0516d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517215


Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
Reviewed-by: default avatarMorten Stenshorne <mstensho@chromium.org>
Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824886}
parent 9e285c75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment