Add composition action for supporting IMEs
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the UI Events composition events specification linked in the issue, then review Gecko's EventUtils.js test APIs for the detailed functional requirements. Define how IME composition input fits the WebDriver action model and can interleave with other input events; done means web editors can be tested for the relevant composition events.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100