[Webkit-unassigned] [Bug 249545] Make DragController::DragIsMove return false when selection does not have focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 24 01:27:24 PST 2022


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

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
I tried this in following PR - https://github.com/WebKit/WebKit/pull/7928

It seems that we have add "SelectionHasFunction" function because "isFocusedAndActive" is not direct replacement.

If we create equivalent of "SelectionHasFocus" then it would be easy to fix this bug and if we don't face any other focus related bug.

I am going to close my PR but you can use it for reference:

1) Skip on iOS
2) Which line etc., in the WebKit Source etc.
3) I tried "focusedElement()" as well but got build errors.

NOTE - assert-selection.js is up to date from Chromium source, so it is not script issue as well. (at least IMO)

-- 
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/20221224/4bae0b45/attachment.htm>


More information about the webkit-unassigned mailing list