w3c / webdriver

Remote control interface that enables introspection and control of user agents.
https://w3c.github.io/webdriver/
Other
679 stars 194 forks source link

Inconsistent behavior for `keypress` event for surrogate pairs #1741

Open jrandolf-2 opened 1 year ago

jrandolf-2 commented 1 year ago

In all three browsers, we have inconsistent behavior w.r.t. keypress events with unicode characters that are surrogate pairs.

Specifically, the following behavior is observed:

The user expectation is probably aligned with Safari's rather than Firefox's, so I propose we align with Safari on this matter.

CC: @whimboo

mathiasbynens commented 1 year ago

I think the ideal place to discuss this is upstream: https://github.com/w3c/uievents/issues/346