Skip to content
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

Add composition action for supporting IMEs #1668

Open
jgraham opened this issue Jun 16, 2022 · 0 comments
Open

Add composition action for supporting IMEs #1668

jgraham opened this issue Jun 16, 2022 · 0 comments

Comments

@jgraham
Copy link
Member

jgraham commented Jun 16, 2022

WebDriver key actions don't cover the case of IME inputs, in which multiple composition events end up inserting one or more characters that don't directly map to the keys pressed. This represents a problem for testing web editors which need to handle IME related events specifically.

The relevant web specification here is https://w3c.github.io/uievents/#events-compositionevents

It makes sense to model this input as actions, because it represents a series of input events that can be interleaved with other input events (e.g. mouse clicks).

Gecko has a couple of test APIs which demonstrate the detailed functional requirements; obviously the details need to change to fit into the WebDriver model, but I propose using those as a guide to what we need to support to be useful for testing web editors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant