[Webkit-unassigned] [Bug 112201] Label elements aren't firing events properly when "contenteditable".

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 6 15:27:09 PDT 2022


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

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

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

--- Comment #8 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am getting following behaviour using attached JSFiddle across browsers:

*** Safari 15.6 on macOS 12.5 ***

1) Click on <div>, it shows "div focus" in console
2) Click on <label>, it shows "div blue" and "label focus" an then if I move to other browser, it shows <label blur>
3) While in <label focus>, if I press Key Up and Down, it also records the event and does not loss focus.

*** Chrome Canary 106 ***

1) Click on <div>, it shows "div focus" in console
2) Click on <label>, it shows "div blue" and "label focus" an then if I move to other browser, it shows <label blur>
3) While in <label focus>, if I press Key Up and Down, it also records the event and does not loss focus.

*** Firefox Nightly 105 ***

1) Click on <div>, it shows "div focus" in console
2) Click on <label>, it shows "div blue" and "label focus" an then if I move to other browser, it shows <label blur>
3) While in <label focus>, if I press Key Up and Down, it also records the event and but on keydown, it losses focus and have to click again on label field.


___

Since all browsers match each other exception with Firefox losing focus on keydown for label. I am not sure on Firefox beahvior so I will leave it to someone else to comment and mark this as "RESOLVED CONFIGURATION CHANGED" or "RESOLVED WONTFIX" or if need to aligned with Firefox then as "New". 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/20220806/d0824aa2/attachment.htm>


More information about the webkit-unassigned mailing list