You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the following structure, where <custom-element> is the root of a shadow DOM:
<ahref="..."><custom-element>
some text
</custom-element></a>
a link hint will not appear on the <a> even though it should.
The cause is that LocalHints.getElementFromPoint does not return any element (because it sees that <custom-element> is a shadow root and tries to recurse into it, but elementsFromPoint apparently does not return text nodes), so the nonOverlappingHints step decides that the <a> element is not actually visible.
Describe the bug
Given the following structure, where
<custom-element>
is the root of a shadow DOM:a link hint will not appear on the
<a>
even though it should.The cause is that
LocalHints.getElementFromPoint
does not return any element (because it sees that<custom-element>
is a shadow root and tries to recurse into it, butelementsFromPoint
apparently does not return text nodes), so thenonOverlappingHints
step decides that the<a>
element is not actually visible.To Reproduce
Steps to reproduce the behavior:
Browser and Vimium version
Firefox 134.0.2, Vimium 2.1.2
The text was updated successfully, but these errors were encountered: