[w3c/editing] EditContext: Should `selectionStart` and `selectionEnd` be upadeted when `updateText()` is called? (#343)

When `EditContext.updateText()` modifies text before `selectionStart` and/or `selectionEnd`, shouldn't these valuses be updated automatically? Otherwise, the values can be invalid and returning such values to IME may make it confused.

If it should be done, WPT should cover all cases.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/343

Received on Tuesday, 28 September 2021 00:35:45 UTC