[Webkit-unassigned] [Bug 219472] document.hasFocus() is true while URL bar has focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 3 17:25:52 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=219472

--- Comment #3 from Alexey Proskuryakov <ap at webkit.org> ---
So there is no practical application in mind, just consistency between blur/focus/hasFocus()? Nothing bad about consistency, but I'm trying to understand if there is more behind this.

There are lots of edge cases around focus (utility windows taking keyboard focus but not visual focus; Exposé, menus, tab view on iOS etc. which aren't supposed to trigger any activity in content and thus should not be detectable).

> The spec fails to capture this, even though it behaves consistently in all the browsers, including Safari, so we're documenting it. If you have concerns about how to specify this, please comment in https://github.com/whatwg/html/pull/6172

This appears to be about keyboard focus, which I don't see how it can ever be relevant to a webpage.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201204/353581c9/attachment-0001.htm>


More information about the webkit-unassigned mailing list