html
html copied to clipboard
"Each EventTarget object that has one or more ev..."
https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-attributes
Each EventTarget object that has one or more event handlers specified has an associated event handler map, which is a map of strings representing names of event handlers to event handlers.
Shouldn't this be
Each EventTarget object that has one or more event handlers specified has an associated event handler map, which is a map of strings representing names of event to event handlers.
I think the intent here is the map is from [strings representing names of event handlers] to [event handlers]. There might be a better way to phrase the sentence, but I don't think it's actually incorrect.