[w3c/uievents] Require support for legacy events (Issue #366)

https://w3c.github.io/uievents/#keypress

> If supported by a [user agent](https://w3c.github.io/uievents/#user-agent),

I think it's not great that support for the legacy `keypress` event is optional. It adds complexity to the specification to need to handle the chain of default actions (see #361) differently depending on whether `keypress` is supported or not, and if `textInput` (#353) is also supposed to be optional it becomes more complex still.

This complexity leaks to tests, or tests would need to be marked as "optional" if they test legacy events.

What is the benefit? As long as the events are needed for web compat, I think the spec should require support, even if it's marked as "legacy".

cc @masayuki-nakano

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/366
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/issues/366@github.com>

Received on Thursday, 11 January 2024 19:34:49 UTC