[Webkit-unassigned] [Bug 273469] REGRESSION (Safari 17): getRangeAt(0) returns the same JS object even after selection changes, differs from Chrome and Firefox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 30 13:04:26 PDT 2024


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

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Selection API: returns live |REGRESSION (Safari 17):
                   |range, but need an option   |getRangeAt(0) returns the
                   |to return new range object  |same JS object even after
                   |for new selection           |selection changes, differs
                   |                            |from Chrome and Firefox
                 CC|                            |rniwa at webkit.org,
                   |                            |webkit-bug-importer at group.a
                   |                            |pple.com

--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> ---
Interestingly, Chrome has the same behavior with window.getSelection(), the returned object is always the same. But getRangeAt(0) is different when the selection changes.

-- 
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/20240430/43145a61/attachment.htm>


More information about the webkit-unassigned mailing list