w3c / input-events

Input Events
https://w3c.github.io/input-events/
Other
24 stars 16 forks source link

Events do not have "default action"s #6

Closed domenic closed 8 years ago

domenic commented 8 years ago

The concept is not defined.

Probably instead what you want to do is define an algorithm for performing certain operations. During the course of that algorithm, fire the event. Then, check if the event has been canceled. If not, perform other actions.

johanneswilm commented 8 years ago

@domenic The UI-Events spec defines "default action". Would you think it would be OK if I used that definition? https://w3c.github.io/uievents/#default-action

annevk commented 8 years ago

No, that is wrong too. 😞

johanneswilm commented 8 years ago

@annevk: Could you be more specific? What is wrong about the definition in UI events that is currently used?

annevk commented 8 years ago

It's not actually a thing that is part of the DOM event model.

johanneswilm commented 8 years ago

Ok, so it's also wrong the way it's used in the UI Events spec?

annevk commented 8 years ago

Yes.

johanneswilm commented 8 years ago

Given that we really just expand upon events defined in UI Events, I wonder if it could be changed in UI events, and we just reference the new definition there? @garykac What do you think?

johanneswilm commented 8 years ago

This issue was moved to w3c/uievents#104