DescriptionMake Gesture Tap be aware of Shadow DOM.
There are several places where we should use NodeRenderingTraversal::parent rather than plain node->parentNode() in WebViewImpl.
Unless that, we can't handle the case where a distributed node is tapped.
This patch also fixed the crash which a newly added layout test, gesture-tapHighlight-shadow-tree.html, has revealed.
In LinkHighlight::computeQuads, we can't use node->childNode() to retrieve a child render object here
because a render tree is constructed from a composed tree and we should retrieve a render object of a distributed node here.
BUG=399522
TEST=gesture-tapHighlight-shadow-tree.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180643
Patch Set 1 #Patch Set 2 : Update LinkHighlight #
Total comments: 3
Patch Set 3 : rebased #Patch Set 4 : rebased #Patch Set 5 : Use useMockHighlight() #
Messages
Total messages: 12 (0 generated)
|