DescriptionMade Blink tooltip ShadowDOM-aware
Before this change, tooltip lookup on EventHandler::mouseMoved() filtered
in-shadow nodes out. That results broken tooltip display of these in-shadow elements.
Such filtering was originally introduced to hide UA shadows, but the implementation
was a bit too aggressive that it filtered all shadow out.
This chagne add HitTestResult::setToShadowHostIfUserAgentShadowRoot().
This is a relaxed version of such filtering, which only hides nodes in UA shadow.
Using this, tooltip is correctly located even if it is inside shadows.
BUG=234100
TEST=tooltips-in-shdaow.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150278
Patch Set 1 #
Total comments: 4
Messages
Total messages: 7 (0 generated)
|