Re: [w3c/editing] Safari Desktop: `insertReplacementText` not fired (Issue #494)

johanneswilm left a comment (w3c/editing#494)

This is clearly defined in the Input Events spec and this issue therefore appears to be an implementation bug. The `insertReplacementText` type is not listed in an overview ticket that describes inconsistencies between spec and webkit implementation [1]. The lack of `insertReplacementText` is mentioned in multiple other tickets between 2019-2024 [2]. 

There is one ticket in which it is mentioned that `insertReplacementText` should only be used for spellchecker and auto-insertion (and not Emojis) [3]. While it is correct that this `inputType` isn't the right one for emojis, we have since tadded that it should be used for other forms of generated text, for example by an OS provided LLM.

[1] https://bugs.webkit.org/show_bug.cgi?id=203992

[2] https://bugs.webkit.org/buglist.cgi?quicksearch=insertReplacementText

[3] https://bugs.webkit.org/show_bug.cgi?id=177657

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

Message ID: <w3c/editing/issues/494/3642106786@github.com>

Received on Thursday, 11 December 2025 14:09:44 UTC