-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should DOM be modified before or after compositionupdate? edge/IE do one thing, chrome/saf/firefox do another? #66
Comments
We've already discussed about this. At that time, compositionupdate should be cancellable and if it's cancelled, DOM shouldn't be modified for JS-IME. However, now, compositionupdate isn't cancellable. So, this reason does not make sense. However, I think that there is input event which is implemented by all browsers and handling it allows web developers to handle any input. Therefore, firing compositionupdate before modifying DOM is better at least for now (beforeinput hasn't been implemented yet). |
During the F2F, we agreed on the following order: beforeinput Current browser behavior is: |
I know there was a resolution, but can we swap
Reasoning
|
I've begun working on a formal algorithm for these events and have the current draft in: https://docs.google.com/document/d/1LJQvjEmWZGzVgZnofpvdkxMj1hEnLniD72XD4DLJWx4/edit?usp=sharing I've used the |
From @gked on January 13, 2016 1:53
Copied from original issue: w3c/editing#109
The text was updated successfully, but these errors were encountered: