Re: [w3c/editing] EditContext: Are the events for `EditContext` propagated in the DOM tree? (#341)

The compositionstart and compositionend events are fired on EditContext ([spec](https://w3c.github.io/editing/docs/EditContext/#extensions-to-the-element-interface)), not on the associated element, so I think we are aligned on this front.

Note that there is no compositionupdate event when EditContext is active since EC's textupdate event already has info for the composition text. There is also no insertCompositionText, insertFromComposition, deleteByComposition, deleteCompositionText since we are not updating DOM.

As for fingerprinting, are you worried about rangeStart/rangeEnd where we are exposing what characters can be combined into a phrase? (I supposed color/underlineStyle/thickness are not related to fingerprinting) But we are already exposing whole composition texts in compositionupdate event, by observing the incremental update of the string I think the 3rd party is already able to determine what characters are treated as a phrase, it can even get all the candidate words as user enumerating in the candidate window (in Japanese IME), so I think textformatupdate event isn't really exposing much more info than what we are already exposing.


-- 
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/341#issuecomment-964879392

Received on Wednesday, 10 November 2021 08:12:24 UTC