[Webkit-unassigned] [Bug 224570] Selection ranges removed whenever focus changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 20:38:20 PDT 2021


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

--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Ben Cronin from comment #3)
> "In WebKit focus & selection stay in sync on purpose. We should probably fix
> the spec instead."
> 
> How was this determined to be the desired behavior?

This is to match the behavior of the underlying platform on macOS.

> Again, WebKit appears to
> be the outlier here in terms of how it implements the spec (all other
> browser engines I've been able to test do not remove ranges when moving
> focus). Additionally, in the few native apps I'm able to move focus to/from
> an editable field by keyboard, selection is maintained when focus moves.

That is Windows / Linux behavior.

-- 
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/20210420/8d3dc8e7/attachment-0001.htm>


More information about the webkit-unassigned mailing list