[Webkit-unassigned] [Bug 22691] javascript .select() method doesn't work from onfocus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 18 03:47:42 PDT 2022


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

--- Comment #7 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
It could be possible to merge this:

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

_____

In EventHandler.cpp:

Remove:
https://github.com/WebKit/WebKit/blob/2ef8bf040a9db8c0af836f5a92916e087e9b9e16/Source/WebCore/page/EventHandler.cpp#L815

add bit from above here with Comment:

https://github.com/WebKit/WebKit/blob/2ef8bf040a9db8c0af836f5a92916e087e9b9e16/Source/WebCore/page/EventHandler.cpp#L1800

____

In Webkit - I don't think we have SelectionController - so not direct merge possible but could be wrong.

___

In FrameSelection.h - Add "void notifyEventHandlerForSelectionChange();"

https://github.com/WebKit/WebKit/blob/6ae0bcb1c73ce6ea808e09557db62a0dbc5446d6/Source/WebCore/editing/FrameSelection.h#L307

In FrameSelection.cpp:

No idea where to add - notifyEventHandlerForSelectionChange

but for other - it can be added above here:

https://github.com/WebKit/WebKit/blob/6ae0bcb1c73ce6ea808e09557db62a0dbc5446d6/Source/WebCore/editing/FrameSelection.cpp#L2138

-- 
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/20220918/ea2a32a8/attachment-0001.htm>


More information about the webkit-unassigned mailing list