DevTools: fix tooltip logic for elements within shadow DOM
Tooltips only show when the mouse target is visible/has offsetParent. Elements using shadow DOM can have <content> elements in the event path, which may be visible despite having no offsetParent. Bug: 847387 Change-Id: Ie5dab99d27146787ad7b14bdf95c7932af1e712d Reviewed-on: https://chromium-review.googlesource.com/1077328Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#563062}
Showing
Please register or sign in to comment