-
hayato@chromium.org authored
EventPath::parent() is only used in adjusting the result of HitTest in some places. For example, if a text node is clicked, we have to adjust the result to the *reasonable* parent element of the text node. In adjusting, we should use NodeRenderingTraversal::parent() instead of EventPath::parent(). That means the adjusted result is no longer shadow roots or insertion points. The result would be the parent element of the text node in the composed tree. That should make sense because neither shadow roots nor insertion points are rendered. BUG=354366 Review URL: https://codereview.chromium.org/210753002 git-svn-id: svn://svn.chromium.org/blink/trunk@169923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5fa209cd