[w3c/uievents] Use `USVString` for input and composition events (Issue #352)

Input and composition events are specified to contain Unicode characters (used in the sense of [scalar values](https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf#G7404)) in their `data` field, however `DOMString` is declared for this field which allows unmatched surrogate pairs.

Currently, Firefox is the only implementation that does not adhere to this definition.

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

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

Received on Monday, 26 June 2023 16:40:43 UTC