When EditContext.updateSelection is called with offset between a surrogate pair, what should happen? #28
Labels
i18n-tracker
Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Options:
Perhaps, w3c/editing#1 is reasonable. If
selectionStart
is middle of a surrogate pair, align to start (or end?) of the surrogate pair. IfselectionEnd
is middle of a surrogate pair, align to end (or start?) of the surrogate pair. (but if the range is collapsed in a surrogate pair, this logic extends the range, perhaps, this would cause unexpected behavior.)The text was updated successfully, but these errors were encountered: