You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this spec, when the state of the composition context is updated, a compositionupdate event is fired, followed by beforeinput and input. Furthermore, none of those events is cancelable. However, according to the UI Events spec, beforeinput fires first and can be canceled, and if not canceled, the compositionupdate and input events are fired. If beforeinput is canceled, then, the composition state would presumably go back to the previous state.
Taking a look at what browsers actually do, it seems like Chromium follows UI Events's order of events, but canceling beforeinput in a composition context does nothing. Firefox and WebKit (tested on Epiphany / GNOME Web) follow this spec, except that WebKit also seems to implement #134.
I wanted to confirm that this has been considered and that the UI Events spec is known to be wrong on this point before trying to update it.
The text was updated successfully, but these errors were encountered:
According to this spec, when the state of the composition context is updated, a
compositionupdate
event is fired, followed bybeforeinput
andinput
. Furthermore, none of those events is cancelable. However, according to the UI Events spec,beforeinput
fires first and can be canceled, and if not canceled, thecompositionupdate
andinput
events are fired. Ifbeforeinput
is canceled, then, the composition state would presumably go back to the previous state.Taking a look at what browsers actually do, it seems like Chromium follows UI Events's order of events, but canceling
beforeinput
in a composition context does nothing. Firefox and WebKit (tested on Epiphany / GNOME Web) follow this spec, except that WebKit also seems to implement #134.I wanted to confirm that this has been considered and that the UI Events spec is known to be wrong on this point before trying to update it.
The text was updated successfully, but these errors were encountered: