Normally, a single character typed into a contenteditable are should create a single DOMCharacterDataModified event. WebKit generates two unnecessary additional DOMCharacterDataModified events for a character typed after a space character.
Created attachment 20848 [details] Test case
I am getting following behavior: -> Safari 15.5 -> Just loading test case shows "DOMCharacterDataModified" six times. -> Chrome Canary 105 -> shows same four times. -> Firefox Nightly 104 -> shows three times. Now when I try to type anything in content editable field - across all browsers I am getting just once "DOMCharacterDataModified". In former case, all browsers are behaving different and it might be something which need to be checked within Web-Spec and aligned with it across all browsers. Thanks!