DescriptionRemove EventPath::parent() in favor of NodeRenderingTraversal::parent().
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
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169923
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|