[Webkit-unassigned] [Bug 125393] Don't dispatch blur/focus events if the element's page is not focused

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 22 16:15:58 PDT 2022


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

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #2 from Ahmad Saleem <zlip.792 at gmail.com> ---
It landed in this commit:

https://src.chromium.org/viewvc/blink?view=revision&revision=164069

I took a test case from the above and changed it into JSFiddle:

https://jsfiddle.net/8ueL62kx/

*** Firefox Nightly 105 ***

Load test, it would be focused in input field but no event is fired and then click any where besides "input" field, it will fire "blur" event.

*** Chrome Canary 106 ***

Load test, it would be focused in input field but no event is fired and then click any where besides "input" field, it will fire "blurfocus" event.

*** Safari Technology Preview 151 ***

Load test, it would be focused in input field but no event is fired and then click any where besides "input" field, it will fire "blurfocus" event.

_______

I am not sure on web-spec or whether something else is required but just going to share what I tested or observed. Thanks!

-- 
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/20220822/595cda78/attachment.htm>


More information about the webkit-unassigned mailing list