[Webkit-unassigned] [Bug 225723] Restoring selection ranges causes text input to ignore keypresses

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 14 09:37:20 PDT 2021


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

--- Comment #3 from Nolan Lawson <nlawson at salesforce.com> ---
Thanks for the feedback. Since this didn't repro in Firefox (or IE11 incidentally), I assumed it was a WebKit/Blink bug.

My assumption as a web developer is that clearing a Selection of its Ranges and then adding those same Ranges back would be a non-destructive action.

If that's not the case, then is there a way to formulate this as a bug to file on Firefox? Something like "When `selection.removeAllRanges()` is called, focus should be cleared"? It's not clear to me from the spec how to phrase this: https://w3c.github.io/selection-api/#dom-selection-removeallranges

-- 
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/20210514/837048ea/attachment.htm>


More information about the webkit-unassigned mailing list