[LayoutNG] Make HitTestResult::LocalPoint() for inline element as same as legacy layout
This patch changes |NGBoxFragmentPainter::NodeAtPoint()| to set offset in containing block instead of offset in underlying element for inline element as legacy layout to make hit testing on inline element with ::after pseudo class with adapting |PositionForPoint()|. The document[1] contains investigation notes of this CL. [1] https://bit.ly/2REZ7P9 Hit Test with ::after Bug: 1043471 Change-Id: I81ada0ccd7bff31a84ce4746785ea83eb175937c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2151775 Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#759982}
Showing
Please register or sign in to comment