w3c / uievents-key

UI Events KeyboardEvents key Values
https://w3c.github.io/uievents-key/
Other
15 stars 16 forks source link

Definition of 'string' #58

Closed xfq closed 1 year ago

xfq commented 1 year ago

Keyboard Event key Attribute Values https://w3c.github.io/uievents-key/#key-attr-values

A key attribute value is defined as being a string that contains one of the following:

"String" is not clearly defined here. Is it a DOMString, an abstract string (which is not tied to a specific encoding), or anything else?

LJWatson commented 1 year ago

Ping @garykac. I believe this is the last outstanding issue before we can continue towards PR/Rec.

LJWatson commented 1 year ago

Pinging @garykac and @travisleithead to see if we can get this issue fixed so we can get this spec over the line?

garykac commented 1 year ago

The key attribute is not defined here. It is defined in the UIEvents spec, where it is explicitly defined as a DOMString.

But I'll change "string" to "DOMString" to be clear.

xfq commented 1 year ago

Thanks for the clarification!