DescriptionHitTestResult::innerElement should check its parent node for rendering and styling.
Suppose that text nodes are direct chilren of a shadow host and projected.
If hover over the text nodes, HitTestResult::innerElement should be an element in the shadow dom tree, not the shadow host.
Since innerElement() is only used for Document::updateHoverActiveState (in EventHandler.cpp and Document.cpp), we can modify HitTestResult::innerElement.
To avoid an element in shadow dom tree via Docuemnt.activeElement, use ancestorInThisScope in updateHoverActiveState.
BUG=244869
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152132
Patch Set 1 #Patch Set 2 : WIP2 #
Total comments: 6
Patch Set 3 : #
Total comments: 4
Patch Set 4 : #
Messages
Total messages: 13 (0 generated)
|