document.activeElement not set on mouse click
In Firefox 96 and Chromium 96, when I call document.activeElement
within a mouse-click handler, it points to the element, which got clicked.
In Epiphany 41.3/WebGitGTK 2.34.4, document.activeElement
points to the <body>
element in the mouse-click handler.
In all browsers, when I use TAB to select an element and then press enter, document.activeElement
points to that element.
I cannot say what happens within the Webkit-Minibrowser, as I find no way to install it under Fedora.
Edited by Дилян Палаузов