[Webkit-unassigned] [Bug 119372] Order of actions for labeled control should be focus then click
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Sep 24 02:56:21 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=119372
Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahmad.saleem792 at gmail.com
--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
I tried to do this in following closed PR:
https://github.com/WebKit/WebKit/pull/3702
but it fails following:
fast/forms/label/label-becomes-visible-while-clicking-on-label.html
^ Which in my novice opinion is direct opposite to our change and it does not exist on Chromium / Blink - checked via https://source.chromium.org/search?q=label-becomes-visible-while-clicking-on-label.html&sq=.
and it was added because of this:
https://github.com/WebKit/WebKit/commit/f7dc69f797b5a7b7544e09fcc225f9c54491df2b
____
I think this is doable as long as someone can figure out whether the first test can be removed or not because it behave different from other browsers:
JSfiddle - https://jsfiddle.net/r3mjfzey/show
*** Safari 15.6 (When tested) ***
Clicking on "Click Me", will make field active and caret will show to start typing and it does in Safari.
*** Chrome Canary 107 & Firefox Nightly 106 (Old) ***
Clicking on "Click me" does just focus but not have caret in it to start typing
____
If someone can confirm that we can delete old test then I am happy to proceed with this change. 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/20220924/a1ccb4d8/attachment.htm>
More information about the webkit-unassigned
mailing list